Share via


SharePointPermission.Impersonate property

Returns true if this SharePointPermission allows impersonate another user

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

Syntax

'Declaration
Public Property Impersonate As Boolean
    Get
    Set
'Usage
Dim instance As SharePointPermission
Dim value As Boolean

value = instance.Impersonate

instance.Impersonate = value
public bool Impersonate { get; set; }

Property value

Type: System.Boolean

See also

Reference

SharePointPermission class

SharePointPermission members

Microsoft.SharePoint.Security namespace