The methods of the IPermission interface are listed below. For a complete list of IPermission interface members, see the IPermission Members topic.
Copy | Returns a copy of the permission object that is equivalent. |
Demand | Demands at run-time that all callers in the call chain have the permission specified by the current permission object. The permissions of the code that calls this method itself are not checked; rather, the check begins from the immediate caller of that code and proceeds up the stack. |
DemandImmediate | Demands at run-time that the immediate caller of the code that calls this method has the permission. |
Intersect | Computes a permission that is the intersection of the permission object and the target parameter permission object. The intersection of two permissions is a permission that describes the set of operations they both describe in common. |
IsSubsetOf | Tests if the current permission object is a subset of- that is, specifies a set of operations that is wholly contained by- the specified permission object. |
Union | Computes a permission that is the union of the permission object and the target parameter permission object. |