asp.net.ph

WindowsAuthenticationEventArgs.User Property

System.Web.Security Namespace   WindowsAuthenticationEventArgs Class


Sets or retrieves the IPrincipal object to be associated with the request.

[ VB ]
Public Property User As IPrincipal

[ C# ]
public IPrincipal User {get; set;}

[ C++ ]
public: __property IPrincipal* get_User ( );
public: __property void set_User ( IPrincipal* );

[ JScript ]
public function get User ( ) : IPrincipal;
Public function set User ( IPrincipal );

Property Value

The IPrincipal object to be associated with the request.

Remarks

The user object should be attached to the context. If User is non a null reference ( Nothing in Visual Basic ) and Context is a null reference ( Nothing ), the User will initialize Context with User.

At the time the event is fired, this will be a null reference ( Nothing ) . The application handling the event should attach an appropriate User to the context, or to User.

See Also

WindowsAuthenticationEventArgs Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note