Share via


SPUserToken members

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

The SPUserToken type exposes the following members.

Constructors

  Name Description
Public method SPUserToken([]) Initializes a new instance of the SPUserToken class based on the specified byte array.
Public method SPUserToken(IIdentity, Uri) Initializes a new instance of the SPUserToken class based on the specified claims identity.

Top

Properties

  Name Description
Public property BinaryToken Gets the byte array identifying the authentication process for a user token.
Public property IsSystemAccount Gets a value that indicates whether token represents SystemAccount system account.
Public propertyStatic member SystemAccount Gets the SPUserToken object that is associated with the SystemAccount. It is recommended that you use this property to get the system account instead of using the SystemAccount property.

Top

Methods

  Name Description
Public method CompareUser Compares this user token with another specified user token.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPUserToken class

Microsoft.SharePoint namespace