IRoleService PermanentDeleteUserRole Method (String,  String , String) CelloSaaS API Documentation
Removes the given roles from the user

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

void PermanentDeleteUserRole(
	string userId,
	string[] roleIds,
	string tenantId
)

Parameters

userId
Type: System String
The user id.
roleIds
Type:  System String 
The role ids.
tenantId
Type: System String
The tenant id.
Exceptions

ExceptionCondition
System ArgumentNullExceptionIf role ids or user id or tenant id is null or empty.
CelloSaaS.ServiceContracts.AccessControlManagement RoleExceptionIf db exception occurs
System UnauthorizedAccessExceptionIf user has not the privilege to delete the user role
See Also