ADO.NET Provider for Microsoft SharePoint

Build 26.0.9770

AddUserToGroup

Adds a user to a specified SharePoint group to manage their access and permissions.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC AddUserToGroup Group='Site Owners', LoginName='i:0#.f|membership|[email protected]'

Input

Name Type Required Description
LoginName String True The login name of the user to be added to the SharePoint group.
Group String True The name of the SharePoint group to which the user is added, such as 'Project Managers' or 'Site Admins.'

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation to add the user to the group was successful. Returns 'true' for success and 'false' for failure.

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