Public Methods (see also Protected Methods)

  Name Description
public methodstatic CheckAccess Checks if the current principal is authorized to perform the given action on the given resource.
public method Copy Returns a copy of the current ClaimsPrincipalPermission instance.
public method Demand Checks if the policy engine authorizes the current principal to perform the actions on the specified resources.
public method Equals  Overloaded. (Inherited from Object)
public method FromXml Initializes the current instance from the SecurityElement.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method Intersect Returns a new ClaimsPrincipalPermission object that has only those ResourceAction objects which are present in both the current instance and the target instance.
public method IsSubsetOf Checks if all the ResourceAction objects contained in the current instance is also present in the target instance.
public method IsUnrestricted Returns true if the permission is unrestricted; otherwise, returns false.
public methodstatic ReferenceEquals  (Inherited from Object)
public method ToString  (Inherited from Object)
public method ToXml Returns the XML encoded form of the current instance.
public method Union Returns a new ClaimsPrincipalPermission object that has the ResourceAction objects which are present in both the current instance and the target instance.

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

See Also




Copyright © 2008 by Microsoft Corporation. All rights reserved.