IRoleService CopyAllRolesAndPrivilegesFromParent Method CelloSaaS API Documentation
Copies roles and privileges from Parent tenant

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

int CopyAllRolesAndPrivilegesFromParent(
	string tenantId
)

Parameters

tenantId
Type: System String
The tenant id.

Return Value

Type: Int32
number of role privileges
Exceptions

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