Check if the logged in user has the given privilege for specified entity,tenantid and Fetch Type
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
public static bool CheckTenantAccessWithTenantScope(
string userId,
string privilege,
string tenantId,
string entityId,
FetchType fetchType,
string operationalTenantId
)
public static bool CheckTenantAccessWithTenantScope(
string userId,
string privilege,
string tenantId,
string entityId,
FetchType fetchType,
string operationalTenantId
)
Public Shared Function CheckTenantAccessWithTenantScope (
userId As String,
privilege As String,
tenantId As String,
entityId As String,
fetchType As FetchType,
operationalTenantId As String
) As Boolean
Public Shared Function CheckTenantAccessWithTenantScope (
userId As String,
privilege As String,
tenantId As String,
entityId As String,
fetchType As FetchType,
operationalTenantId As String
) As Boolean
static member CheckTenantAccessWithTenantScope :
userId : string *
privilege : string *
tenantId : string *
entityId : string *
fetchType : FetchType *
operationalTenantId : string -> bool
static member 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: FetchType
Type of the fetch.
- operationalTenantId
- Type: System String
The Operational tenant Id
Return Value
Type:
Booleantrueif the user has the access privilege,
falseotherwise