Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ClaimsPrincipalPermission Methods

.NET Framework 4.6 and 4.5

The ClaimsPrincipalPermission type exposes the following members.

  Name Description
Public method Static member CheckAccess Checks if the current principal is authorized to perform the specified action on the specified resource.
Public method Copy Returns a copy of the current ClaimsPrincipalPermission instance.
Public method Demand Checks if the current principal is authorized for the resource-action pairs associated with the current instance.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FromXml Reconstructs the current permission and its state from the specified XML encoding.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Intersect Returns a permission that is the intersection of the current permission and the specified permission.
Public method IsSubsetOf Returns a value that indicates whether current permission is a subset of the specified permission.
Public method IsUnrestricted Returns a value that indicates whether the permission is unrestricted.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ToXml Returns the XML encoded form of the current permission and its state.
Public method Union Returns a new permission that is the union of the current permission and the specified permission. ClaimsPrincipalPermission object that has all of the resource-action pairs that are present in the current instance and the target instance.
Top
Show:
© 2015 Microsoft