Share via


SingleSignonPermission.Intersect Method

Returns the logical intersection of two SingleSignonPermission instances.

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

Syntax

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

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

Parameters

Return Value

Type: System.Security.IPermission
System.Security.IPermission. A new SingleSignonPermission instance that represents the intersection of the current instance and the target parameter. If the intersection is empty, the method returns a null reference (Nothing in Visual Basic).

Implements

IPermission.Intersect(IPermission)

Remarks

The intersection of two permissions is a permission that secures the resources and operations that can be secured by both permissions. Any demand that passes both permissions will also pass their intersection. In short, the Intersect method returns a SingleSignonPermission instance that contains the permissions that are common in both the target and the current instance.

See Also

Reference

SingleSignonPermission Class

SingleSignonPermission Members

Microsoft.SharePoint.Portal.SingleSignon.Security Namespace