SPSite.UserToken property
SharePoint 2013
Gets the user token that is associated with the site collection.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)] public SPUserToken UserToken { get; }
Property value
Type: Microsoft.SharePoint.SPUserTokenAn SPUserToken object that represents the token that identifies the authentication process that is applied to the current user. If the SPSite object was created with a specific SPUserToken object, that token is returned; otherwise, the token of the current user is returned.