IRoleService AddUsersToRole Method ( String , String, String) CelloSaaS API Documentation
Assign role to many users.

Namespace: CelloSaaS.ServiceContracts.AccessControlManagement
Assembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

void AddUsersToRole(
	string[] userIdentifiers,
	string roleIdentifier,
	string tenantId
)

Parameters

userIdentifiers
Type:  System String 
The user identifiers.
roleIdentifier
Type: System String
The role identifier.
tenantId
Type: System String
The tenant id.
Exceptions

ExceptionCondition
System ArgumentExceptionIf user id or role id is null or empty
CelloSaaS.ServiceContracts.AccessControlManagement RoleExceptionIf db exception occur
System ArgumentNullExceptionIf the role id or tenant id is null or empty.
See Also