ClaimsPrincipalPermission::IsSubsetOf Method (IPermission^)
.NET Framework (current version)
Returns a value that indicates whether current permission is a subset of the specified permission.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
Parameters
- target
-
Type:
System.Security::IPermission^
The permission to be tested for the subset relationship. It must be an instance of ClaimsPrincipalPermission.
Return Value
Type: System::Booleantrue if current permission is a subset of the specified permission; otherwise, false.
Implements
IPermission::IsSubsetOf(IPermission^)The current permission is a subset of the specified permission if all of the resource-action pairs contained in the current permission are also present in the specified permission. If target is null or is not an instance of ClaimsPrincipalPermission, the IsSubsetOf returns false.
.NET Framework
Available since 4.5
Available since 4.5
Show: