RolePrincipal Constructor (IIdentity, String)
Instantiates a RolePrincipal object for the specified identity with role information from the specified encryptedTicket.
Assembly: System.Web (in System.Web.dll)
identity is null.
encryptedTicket is null.
This overload of the RolePrincipal object and initializes its property values. Role information for the current user is read from the supplied encryptedTicket and cached with the RolePrincipal object. The ProviderName property is set to the Name of the default role provider.constructor creates a new
For information on enabling role management, see the Roles class.
Available since 2.0