PassportAuthenticationEventArgs.User Property
.NET Framework 3.0
Gets or sets the IPrincipal object to be associated with the request.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Property User As IPrincipal 'Usage Dim instance As PassportAuthenticationEventArgs Dim value As IPrincipal value = instance.User instance.User = value
/** @property */ public IPrincipal get_User () /** @property */ public void set_User (IPrincipal value)
public function get User () : IPrincipal public function set User (value : IPrincipal)
Not applicable.
Property Value
The IPrincipal object to be associated with the request.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 in Visual Basic), the PassportAuthenticationModule will initialize User with User.
At the time the PassportAuthentication_OnAuthenticate event is fired, this will be a null reference (Nothing in Visual Basic). The application handling the event should attach an appropriate User to the context, or to User.
Community Additions
ADD
Show: