NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

URLIdentityPermission.Intersect

Creates and returns a permission that is the intersection of the current permission object and a target permission object.

[Visual Basic]
Overrides Public Function Intersect( _
   ByVal target As IPermission _
) As IPermission
[C#]
public override IPermission Intersect(
   IPermission target
);
[C++]
public: override IPermission* Intersect(
   IPermission* target
);
[JScript]
public override function Intersect(
   target : IPermission
) : IPermission;

Parameters

target
A permission object to intersect with the current permission object. It must be of the same type as the current permission object.

Return Value

Returns the intersection of the current permission object and the permission specified, which will be either a permission object or a null reference if the intersection is empty.

Remarks

The intersection of two permission objects is a permission object that describes the operations that are specified by both permissions.

See Also

URLIdentityPermission Class | URLIdentityPermission Members | System.Security.Permissions Namespace