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

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPUserToken

Dim instance As SPUserToken
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
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

Impersonation