SPSite.Impersonating Property
Gets a Boolean value that indicates the impersonation status of the SPSite object.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: System.Booleantrue if the SPSite object was created with an SPUserToken parameter, indicating that the site collection impersonates the identity of a user; otherwise, false.