ADO.NET Provider for Microsoft SharePoint

Build 24.0.9175

AddUserToRole

Add the user to specified role.

Input

Name Type Required Description
LoginName String True A comma-seperated value containing the login names of the users you want to assign the role to. For example: 'Domain\user1,Domain\user2'.
Role String True The role you want to assign to the users.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175