The members of System.Security.Principal.GenericPrincipal are listed below.
See Also: Inherited members from System.Object
GenericPrincipal(IIdentity, string[])Create a generic principal instance with the specified identity and roles.
[read-only]IdentityIIdentity. The identity of the current principal represents.
IsInRole(string) : boolReturn the membership of the current principal in the specified role.
Return the membership of the current principal in the specified role.