Share via


de la propiedad SPSite.UserToken

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

Espacio de nombres:  Microsoft.SharePoint
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
Public ReadOnly Property UserToken As SPUserToken
    Get
'Uso
Dim instance As SPSite
Dim value As SPUserToken

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

Valor de propiedad

Tipo: 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.

Vea también

Referencia

clase SPSite

Miembros SPSite

Espacio de nombres Microsoft.SharePoint