Get all privilege details base on the privilege search name and tenant code
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- searchPrivilege
- Type: System String
Privilege Name
- tenantCode
- Type: System String
Tenant Code(Mandatory)
Return Value
Type: List PrivilegePrivilege Details
Exceptions
Exception | Condition |
---|---|
[!:CelloSaaS.ServiceContracts.AccessControlManagement.PrivilegeException] | If db exception occurs |
System ArgumentNullException | If tenant code is null or empty |
Examples
public void GetPrivileges() { string searchPrivilege = "a"; string tenantCode = "B590CD25-3093-DF11-8DEB-001EC9DAB123": List<Privilege> privileges = PrivilegeProxy.GetPrivileges(searchPrivilege, tenantCode); }
See Also