Поделиться через


Метод Web.GetUserById

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

Пространство имен:  Microsoft.SharePoint.Client
Сборки:   Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)

Синтаксис

'Декларация
Public Function GetUserById ( _
    userId As Integer _
) As User
'Применение
Dim instance As Web
Dim userId As Integer
Dim returnValue As User

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

Параметры

  • userId
    Тип: System.Int32

    Specifies the member identifier.

Возвращаемое значение

Тип: Microsoft.SharePoint.Client.User
The user corresponding to the specified member identifier.

См. также

Справочные материалы

Web класс

Элементы Web

Пространство имен Microsoft.SharePoint.Client