Click or drag to resize

VGPrincipalPermissionUnion Method

Creates a permission that is the union of the current permission and 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 IPermission Union(
	IPermission other
)

Parameters

other
Type: System.SecurityIPermission
A permission to combine with the current permission. It must be of the same type as the current permission.

Return Value

Type: IPermission
A new permission that represents the union of the current permission and the specified permission.

Implements

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