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.Int32Specifies the member identifier.
返回值
类型:Microsoft.SharePoint.Client.User
The user corresponding to the specified member identifier.