Export (0) Print
Expand All

PrincipalPermission Methods

The PrincipalPermission type exposes the following members.

  Name Description
Public method Copy Creates and returns an identical copy of the current permission.
Public method Demand Determines at run time whether the current principal matches the principal specified by the current permission.
Public method Equals Determines whether the specified PrincipalPermission object is equal to the current PrincipalPermission. (Overrides Object.Equals(Object).)
Public method FromXml Reconstructs a permission with a specified state from an XML encoding.
Public method 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().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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 IsUnrestricted Returns a value indicating whether the current permission is unrestricted.
Public method ToString Creates and returns a string representing the current permission. (Overrides Object.ToString().)
Public method ToXml Creates an XML encoding of the permission and its current state.
Public method Union Creates a permission that is the union of the current permission and the specified permission.
Top
Show:
© 2014 Microsoft