RolePrincipal Constructor

 

Creates a new instance of the RolePrincipal class.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodRolePrincipal(IIdentity)

Instantiates a RolePrincipal object for the specified identity.

System_CAPS_pubmethodRolePrincipal(IIdentity, String)

Instantiates a RolePrincipal object for the specified identity with role information from the specified encryptedTicket.

System_CAPS_protmethodRolePrincipal(SerializationInfo, StreamingContext)

Initializes a new instance of the RolePrincipal class using information that is contained in the specified SerializationInfo object and using the specified streaming context.

System_CAPS_pubmethodRolePrincipal(String, IIdentity)

Instantiates a RolePrincipal object for the specified identity using the specified providerName.

System_CAPS_pubmethodRolePrincipal(String, IIdentity, String)

Instantiates a RolePrincipal object for the specified identity using the specified providerName and role information from the specified encryptedTicket.

Return to top
Show: