SPSite.UserToken 属性
Gets the user token that is associated with the site collection.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property UserToken As SPUserToken
Get
用法
Dim instance As SPSite
Dim value As SPUserToken
value = instance.UserToken
public SPUserToken UserToken { get; }
属性值
类型:Microsoft.SharePoint.SPUserToken
An SPUserToken object that represents the token that identifies the authentication process that is applied to the current user. If the SPSite object was created with a specific SPUserToken object, that token is returned; otherwise, the token of the current user is returned.