Web.GetUserById 方法
傳回對應到目前站台指定成員識別碼的使用者。
命名空間: 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指定成員識別碼。
傳回值
類型:Microsoft.SharePoint.Client.User
使用者對應至指定的成員識別碼。