SingleSignonPermission.Union Method

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

Namespace:  Microsoft.SharePoint.Portal.SingleSignon.Security
Assembly:  Microsoft.SharePoint.Portal.SingleSignon.Security (in Microsoft.SharePoint.Portal.SingleSignon.Security.dll)

Syntax

'Declaration
Public Overrides Function Union ( _
    target As IPermission _
) As IPermission
'Usage
Dim instance As SingleSignonPermission
Dim target As IPermission
Dim returnValue As IPermission

returnValue = instance.Union(target)
public override IPermission Union(
    IPermission target
)

Parameters

  • target
    Type: System.Security.IPermission
    A permission to combine with the current permission. It must be of the same type as the current permission.

Return Value

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

Implements

IPermission.Union(IPermission)

Remarks

The result of a call to Union is a permission that represents all the operations represented by both the current permission and the specified permission. Any demand that passes either permission passes their union.

See Also

Reference

SingleSignonPermission Class

SingleSignonPermission Members

Microsoft.SharePoint.Portal.SingleSignon.Security Namespace