Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Intersect method of the SharePointPermission class returns the logical intersection of two SharePointPermission instances.
Parameters
target The SharePointPermission instance to intersect with the current instance.
Return Value
System.Security.IPermission A new SharePointPermission 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).
Exceptions
Exception Type | Condition |
---|---|
ArgumentException | The target parameter is not a null reference (Nothing in Visual Basic) and is not a SharePointPermission. |
Remarks
Intersect returns a SharePointPermission that contains the permissions that both the target and the current instance have in common.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security