IPermission Methods

The IPermission type exposes the following members.

  Name Description
Public method Copy Creates and returns an identical copy of the current permission.
Public method Demand Throws a SecurityException at run time if the security requirement is not met.
Public method FromXml Reconstructs a security object with a specified state from an XML encoding. (Inherited from ISecurityEncodable.)
Public method Intersect Creates and returns a permission that is the intersection of the current permission and the specified permission.
Public method IsSubsetOf Determines whether the current permission is a subset of the specified permission.
Public method ToXml Creates an XML encoding of the security object and its current state. (Inherited from ISecurityEncodable.)
Public method Union Creates a permission that is the union of the current permission and the specified permission.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft