Visual Guard Class Library Documentation

VGPrincipalPermission.Union Method 

Creates a permission that is the union of the current permission and the specified permission.

public IPermission Union(
   IPermission other
);

Parameters

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

Return Value

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

Implements

IPermission.

Exceptions

Exception Type Condition
ArgumentException The other parameter is an object that is not of the same type as the current permission.

See Also

VGPrincipalPermission Class | Novalys.VisualGuard.Security Namespace