The VGPrincipalPermission type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VGPrincipalPermission(PermissionState) | Initializes a new instance of the VGPrincipalPermission class with the specified PermissionState. | |
VGPrincipalPermission(Guid, VGPermissionType) | Initializes a new instance of the VGPrincipalPermission class for the specified role or permission. | |
VGPrincipalPermission(String, VGPermissionType) | Initializes a new instance of the VGPrincipalPermission class for the specified role or permission. | |
VGPrincipalPermission(Guid, VGPermissionType, Boolean) | Initializes a new instance of the VGPrincipalPermission class for the specified role or permission. | |
VGPrincipalPermission(String, VGPermissionType, Boolean) | Initializes a new instance of the VGPrincipalPermission class for the specified role or permission. |
Methods
Name | Description | |
---|---|---|
Copy | Creates and returns an identical copy of the current permission. | |
Demand | Determines at run time whether the current Visual Guard principal matches the principal specified by the current permission. | |
Equals | Determines whether the specified PrincipalPermission object is equal to the current PrincipalPermission. (Overrides Object..::..Equals(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.) | |
FromXml | Reconstructs a permission with a specified state from an XML encoding. | |
GetHashCode | 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()()()().) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Intersect | Creates and returns a permission that is the intersection of the current permission and the specified permission. | |
IsSubsetOf | Determines whether the current permission is a subset of the specified permission. | |
IsUnrestricted | Returns a value indicating whether the current permission is unrestricted. | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) | |
ToXml | Creates an XML encoding of the permission and its current state. | |
Union | Creates a permission that is the union of the current permission and the specified permission. |