Share via


SPUserToken class

Represents the token that identifies the authentication process applied to a user.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPUserToken

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class SPUserToken
'Usage
Dim instance As SPUserToken
[SerializableAttribute]
public sealed class SPUserToken

Remarks

A user token is a binary object that contains the identification and domain group membership of a user.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPUserToken members

Microsoft.SharePoint namespace

Other resources

Authorization object relations and object model

Impersonation, elevation of privilege, managed accounts