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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph