Freigeben über


Web.GetUserById-Methode

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

Namespace:  Microsoft.SharePoint.Client
Assemblys:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetUserById ( _
    userId As Integer _
) As User
'Usage
Dim instance As Web
Dim userId As Integer
Dim returnValue As User

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

Parameter

Rückgabewert

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

Siehe auch

Referenz

Web Klasse

Web-Member

Microsoft.SharePoint.Client-Namespace