Partager via


SPSite.UserToken - Propriété

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

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public ReadOnly Property UserToken As SPUserToken
    Get
'Utilisation
Dim instance As SPSite
Dim value As SPUserToken

value = instance.UserToken
public SPUserToken UserToken { get; }

Valeur de propriété

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.

Voir aussi

Référence

SPSite classe

SPSite - Membres

Microsoft.SharePoint - Espace de noms