Check if the logged in user has the given privilege for specified entity,tenantid and Fetch Type
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
bool CheckTenantAccessWithTenantScope(
string userId,
string privilege,
string tenantId,
string entityId,
FetchType fetchType,
string operationalTenantId
)
bool CheckTenantAccessWithTenantScope(
string userId,
string privilege,
string tenantId,
string entityId,
FetchType fetchType,
string operationalTenantId
)
Function CheckTenantAccessWithTenantScope (
userId As String,
privilege As String,
tenantId As String,
entityId As String,
fetchType As FetchType,
operationalTenantId As String
) As Boolean
Function CheckTenantAccessWithTenantScope (
userId As String,
privilege As String,
tenantId As String,
entityId As String,
fetchType As FetchType,
operationalTenantId As String
) As Boolean
abstract CheckTenantAccessWithTenantScope :
userId : string *
privilege : string *
tenantId : string *
entityId : string *
fetchType : FetchType *
operationalTenantId : string -> bool
abstract CheckTenantAccessWithTenantScope :
userId : string *
privilege : string *
tenantId : string *
entityId : string *
fetchType : FetchType *
operationalTenantId : string -> bool
Parameters
- userId
- Type: System String
The user id.
- privilege
- Type: System String
The privilege.
- tenantId
- Type: System String
The tenant id.
- entityId
- Type: System String
The entity id.
- fetchType
- Type: CelloSaaS.Model FetchType
Type of the fetch.
- operationalTenantId
- Type: System String
The Operational tenant Id
Return Value
Type:
Booleantrueif the user has the access privilege,
falseotherwise