AddPermission (inherited from PermissionSet) |
Adds a specified permission to the permission set if it does not exist. If a permission of the same type already exists in the permission set, then the existing permission object is returned and no change is made. |
Assert (inherited from PermissionSet) |
Asserts all permissions of the set. |
ContainsNonCodeAccessPermissions (inherited from PermissionSet) |
[To be supplied.] |
Copy |
Overloaded. Creates an equivalent copy of the named permission set. |
CopyTo (inherited from PermissionSet) |
Copies the permission objects of the set to the indicated location in an Array. |
Demand (inherited from PermissionSet) |
Demands that all callers have permissions of the set. |
DemandImmediate (inherited from PermissionSet) |
Check if immediate caller has permissions of the set. |
Deny (inherited from PermissionSet) |
Denies permissions in the set to effectively not have them granted to the code. A subsequent demand for any permission in the set will fail, even if the permission was granted to the code making the call to Deny. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FromXml |
Sets the named permission set according to XML element description. |
GetEnumerator (inherited from PermissionSet) |
Returns an enumerator for the permissions of the set. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPermission (inherited from PermissionSet) |
Gets a permission object of the specified type if it exists in the set. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Intersect (inherited from PermissionSet) |
Computes the intersection of two permission sets. |
IsEmpty (inherited from PermissionSet) |
Returns true if the permission set is empty. |
IsSubsetOf (inherited from PermissionSet) |
Determines whether the current permission object is a subset of- that is, specifies a set of operations that is wholly contained by- the specified permission object. |
IsUnrestricted (inherited from PermissionSet) |
Determines whether the permission set is unrestricted. |
PermitOnly (inherited from PermissionSet) |
Permit only the permissions in the set to be effective. Subsequent demand of any permission not in the set will fail, even if the permission was granted to the code. The duration of permit-only is until another permit-only in the same stack frame, or until return from the stack frame. |
RemovePermission (inherited from PermissionSet) |
Removes a permission of a certain type from the set. |
SetPermission (inherited from PermissionSet) |
Sets a permission on the permission set. |
SetUnrestricted (inherited from PermissionSet) |
Sets the permission set to fully restricted or unrestricted state. |
ToString (inherited from PermissionSet) |
System.Security.String representation of the permission set. |
ToXml |
Creates an XML element description of the named permission set. |
Union (inherited from PermissionSet) |
Computes the union of two permission sets. |