SPWeb.GetUserToken-Methode

Retrieves the user token for the specified user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetUserToken ( _
    userName As String _
) As SPUserToken
'Usage
Dim instance As SPWeb
Dim userName As String
Dim returnValue As SPUserToken

returnValue = instance.GetUserToken(userName)
public SPUserToken GetUserToken(
    string userName
)

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.SPUserToken
The token for the specified user.

Hinweise

The current user must have SPBasePermissions.EnumeratePermissions.

Siehe auch

Referenz

SPWeb Klasse

SPWeb-Member

Microsoft.SharePoint-Namespace

SPBasePermissions