Click or drag to resize

VGPrincipalPermissionIsSubsetOf Method

Determines whether the current permission is a subset of the specified permission.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
public bool IsSubsetOf(
	IPermission target
)

Parameters

target
Type: System.SecurityIPermission
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.

Return Value

Type: Boolean
true if the current permission is a subset of the specified permission; otherwise, false.

Implements

IPermissionIsSubsetOf(IPermission)
Exceptions
ExceptionCondition
ArgumentExceptionThe target parameter is an object that is not of the same type as the current permission.
See Also