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

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

public static 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.RoleException]If db exception occurs
System ArgumentNullExceptionIf tenant id is null or empty
See Also