The PrincipalInfo type exposes the following members.

Constructors

  NameDescription
PrincipalInfo
Initializes a new instance of the PrincipalInfo class.

Methods

  NameDescription
CreatePrincipal
Creates a principal object for a user.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
HasPathAccess
Determines whether the contained principal has access to the specified path.
IsPermitted
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WindowsIdentityRoles
Gets the identity roles for a WindowsIdentity.

Properties

  NameDescription
AnonymousPrincipal
Gets a principal object representing the an anonoymous principal.
Current
Gets a PrincipalInfo object initialized with the current principal.
CurrentPrincipal
Gets or sets the current principal.
HasAdminAccess
Checks for user access to the /admin pages.
HasEditAccess
Checks for user access to the /edit pages.
Name
Gets the name of the principal.
Principal
Gets the principal used by this instance.
RoleList
Gets the list of roles that the principal belongs to.

See Also