The VGPrincipalPermission type exposes the following members.

Constructors

  NameDescription
Public methodVGPrincipalPermission(PermissionState)
Initializes a new instance of the VGPrincipalPermission class with the specified PermissionState.
Public methodVGPrincipalPermission(Guid, VGPermissionType)
Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.
Public methodVGPrincipalPermission(String, VGPermissionType)
Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.
Public methodVGPrincipalPermission(Guid, VGPermissionType, Boolean)
Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.
Public methodVGPrincipalPermission(String, VGPermissionType, Boolean)
Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.

Methods

  NameDescription
Public methodCopy
Creates and returns an identical copy of the current permission.
Public methodDemand
Determines at run time whether the current Visual Guard principal matches the principal specified by the current permission.
Public methodEquals
Determines whether the specified PrincipalPermission object is equal to the current PrincipalPermission.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromXml
Reconstructs a permission with a specified state from an XML encoding.
Public methodGetHashCode
Gets a hash code for the PrincipalPermission object that is suitable for use in hashing algorithms and data structures such as a hash table.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersect
Creates and returns a permission that is the intersection of the current permission and the specified permission.
Public methodIsSubsetOf
Determines whether the current permission is a subset of the specified permission.
Public methodIsUnrestricted
Returns a value indicating whether the current permission is unrestricted.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodToXml
Creates an XML encoding of the permission and its current state.
Public methodUnion
Creates a permission that is the union of the current permission and the specified permission.

See Also