Returns a new ClaimsPrincipalPermission object that has only those ResourceAction objects which are present in both the current instance and the target instance.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsPrincipalPermission
Dim target As IPermission
Dim returnValue As IPermission

returnValue = instance.Intersect(target)

Syntax

Visual Basic
Public Function Intersect ( _
		target As IPermission _
) As IPermission
C#
public IPermission Intersect (
		IPermission target
)
C++
public:
virtual IPermission^ Intersect (
		IPermission^ target
) sealed
J#
public final IPermission Intersect (
		IPermission target
)
JScript
public final function Intersect (
		target : IPermission
) : IPermission

Parameters

target

The target ClaimsPrincipalPermission object.

Return Value

A new ClaimsPrincipalPermission object that has only those ResourceAction objects which are present in both the current instance and the target instance.

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also