UserCollection.GetById メソッド
Returns the user with the specified member ID.
名前空間: 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 GetById ( _
id As Integer _
) As User
'使用
Dim instance As UserCollection
Dim id As Integer
Dim returnValue As User
returnValue = instance.GetById(id)
public User GetById(
int id
)
パラメーター
id
型: System.Int32A 32-bit integer that specifies the member identifier.
戻り値
型: Microsoft.SharePoint.Client.User
Returns a User instance representing the user with the specified member ID.
例外
例外 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | User cannot be found. Error code: -2146232832. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |