Partager via


Web.GetUserById - Méthode

Returns the user corresponding to the specified member identifier for the current site.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Function GetUserById ( _
    userId As Integer _
) As User
'Utilisation
Dim instance As Web
Dim userId As Integer
Dim returnValue As User

returnValue = instance.GetUserById(userId)
public User GetUserById(
    int userId
)

Paramètres

  • userId
    Type : System.Int32

    Specifies the member identifier.

Valeur renvoyée

Type : Microsoft.SharePoint.Client.User
The user corresponding to the specified member identifier.

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms