PassportAuthenticationEventArgs.User Property
Gets or sets the IPrincipal object to be associated with the request.
[Visual Basic] 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 User is a null reference (Nothing), the PassportAuthenticationModule will initialize User with User.
At the time the PassportAuthentication_OnAuthenticate 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.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
PassportAuthenticationEventArgs Class | PassportAuthenticationEventArgs Members | System.Web.Security Namespace