共用方式為


SPUser.UserToken Property

Gets the user token that identifies the authentication process applied to the user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property UserToken As SPUserToken
    Get
'Usage
Dim instance As SPUser
Dim value As SPUserToken

value = instance.UserToken
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPUserToken UserToken { get; }

Property Value

Type: Microsoft.SharePoint.SPUserToken
An SPUserToken object that represents the user token.

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace