次の方法で共有


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
)

パラメーター

例外

例外 条件
[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.

関連項目

参照先

UserCollection クラス

UserCollection メンバー

Microsoft.SharePoint.Client 名前空間