Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPSite.UserToken property

Gets the user token that is associated with the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public SPUserToken UserToken { get; }

Property value

Type: Microsoft.SharePoint.SPUserToken
An 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.