Code Assist MCP for Microsoft SharePoint

Build 25.0.9540

DeleteUserFromGroup

指定されたSharePoint グループからユーザーを削除します。ユーザーのロールが変更されたときにアクセスを取り消すのに便利です。

Stored Procedure-Specific Information

The DeleteUserFromGroup stored procedure removes a user from a SharePoint group. The LoginName parameter specifies the user's login name, and the Group parameter specifies the group name.

To execute this procedure, enter:

EXEC DeleteUserFromGroup LoginName = 'i:0#.f|membership|[email protected]', Group = 'Site Members';

Input

Name Type Required Description
LoginName String True 指定されたSharePoint グループかされるユーザーのログイン名。例:'DOMAIN\\JohnDoe' or '[email protected]'。
Group String True ユーザーを削除するSharePoint グループの名前。例:'Project Managers' や'Site Admins'。

Result Set Columns

Name Type Description
Success Boolean ユーザーがグループから正常に削除されたかどうかを示します。操作が成功した場合 'true' を返し、それ以外の場合は'false' を返します。

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9540