NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IPermission Members

Methods

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.

See Also

IPermission Interface | System.Security Namespace