PassportPrincipal.PassportPrincipal Constructor
.NET Framework 3.0
Initializes a new instance of the PassportPrincipal class from a PassportIdentity instance and an array of role names to which the user represented by that PassportIdentity belongs.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public PassportPrincipal ( PassportIdentity identity, String[] roles )
public function PassportPrincipal ( identity : PassportIdentity, roles : String[] )
Not applicable.
Parameters
- identity
An implementation of the IIdentity interface that represents the user.
- roles
An array of role names to which the user represented by the identity parameter belongs.
Community Additions
ADD
Show: