Gets a Boolean value that indicates the impersonation status of the SPSite object.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property Impersonating As Boolean
Get
用法
Dim instance As SPSite
Dim value As Boolean
value = instance.Impersonating
public bool Impersonating { get; }
属性值
类型: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.