ClaimsPrincipalPermission Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
Represents the permission required to access a resource.
The following tables list the members exposed by the ClaimsPrincipalPermission type.
Public Constructors
Name | Description | |
---|---|---|
ClaimsPrincipalPermission | Creates a new instance of the ClaimsPrincipalPermission class. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
CheckAccess | Checks if the current principal is authorized to perform the specified action on the specified resource. | |
Copy | Returns a copy of the current ClaimsPrincipalPermission instance. | |
Demand | Checks if the current principal is authorized for the action-resource pairs associated with this instance. | |
Equals | (Inherited from Object) | |
FromXml | Initializes the current instance from the specified SecurityElement. | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
Intersect | Returns a new ClaimsPrincipalPermission object that has only those ResourceAction objects that are present in both the current instance and in the target instance. | |
IsSubsetOf | Returns a value that indicates whether all of the resource-action pairs contained in the current instance are also present in the target instance. | |
IsUnrestricted | Returns a value that indicates whether the permission is unrestricted. | |
ToString | (Inherited from Object) | |
ToXml | Returns the XML encoded form of the current instance. | |
Union | Returns a new ClaimsPrincipalPermission object that has all of the resource-action pairs that are present in the current instance and the target instance. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
ClaimsPrincipalPermission Class
Microsoft.IdentityModel.Claims Namespace
Copyright © 2008 by Microsoft Corporation. All rights reserved.