Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Impersonating property
Collapse the table of content
Expand the table of content

SPSite.Impersonating property

Gets a Boolean value that indicates the impersonation status of the SPSite object.

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

public bool Impersonating { get; }

Property value

Type: System.Boolean
true if the SPSite object was created with an SPUserToken parameter, indicating that the site collection impersonates the identity of a user; otherwise, false.
© 2015 Microsoft