UserCollection.Remove メソッド
Removes the specified user from the collection.
名前空間: 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 Sub Remove ( _
user As User _
)
'使用
Dim instance As UserCollection
Dim user As User
instance.Remove(user)
public void Remove(
User user
)
パラメーター
user
型: Microsoft.SharePoint.Client.UserA User object that represents the user.
It must not be null 参照 (Visual Basic のNothing ).
例外
例外 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | User cannot be found, or cannot modify the UserCollection. Error code: -2146232832. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |