共用方式為


SPUser.UserToken property

取得使用者語彙基元,可識別套用到使用者的驗證程序。

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

Syntax

'宣告
Public ReadOnly Property UserToken As SPUserToken
    Get
'用途
Dim instance As SPUser
Dim value As SPUserToken

value = instance.UserToken
public SPUserToken UserToken { get; }

Property value

Type: Microsoft.SharePoint.SPUserToken
SPUserToken 物件,表示使用者語彙基元。

請參閱

參照

SPUser class

SPUser members

Microsoft.SharePoint namespace