Check if the logged in user has the given privilege for the given tenantId.
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
bool CheckTenantAccessPrivilege(
string userId,
string privilege,
string tenantId
)
bool CheckTenantAccessPrivilege(
string userId,
string privilege,
string tenantId
)
Function CheckTenantAccessPrivilege (
userId As String,
privilege As String,
tenantId As String
) As Boolean
Function CheckTenantAccessPrivilege (
userId As String,
privilege As String,
tenantId As String
) As Boolean
abstract CheckTenantAccessPrivilege :
userId : string *
privilege : string *
tenantId : string -> bool
abstract CheckTenantAccessPrivilege :
userId : string *
privilege : string *
tenantId : string -> bool
Parameters
- userId
- Type: System String
The user id.
- privilege
- Type: System String
The privilege.
- tenantId
- Type: System String
The tenant id.
Return Value
Type:
Booleantrueif the user has the access privilege,
falseotherwise