System.Security.Principal.GenericPrincipal Members

The members of System.Security.Principal.GenericPrincipal are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Security.Principal.GenericPrincipal class from a user identity and an array of role names to which the user represented by that identity belongs.

Public Properties

Public Methods

IsInRole(string) : bool

Determines whether the current System.Security.Principal.GenericPrincipal belongs to the specified role.