Share via


SharePointPermission.Copy Method

Creates and returns an identical copy of the current permission object.

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

Syntax

'Declaration
Public Overrides Function Copy As IPermission
'Usage
Dim instance As SharePointPermission
Dim returnValue As IPermission

returnValue = instance.Copy()
public override IPermission Copy()

Return Value

Type: System.Security.IPermission
System.Security.IPermission A copy of the current permission object.

Implements

IPermission.Copy()

Remarks

A copy of a permission object represents the same access to resources as the original permission object.

See Also

Reference

SharePointPermission Class

SharePointPermission Members

Microsoft.SharePoint.Security Namespace