AccessControlProxy CheckTenantAccessWithTenantScope Method CelloSaaS API Documentation
Check if the logged in user has the given privilege for specified entity,tenantid and Fetch Type

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

public static bool CheckTenantAccessWithTenantScope(
	string userId,
	string privilege,
	string tenantId,
	string entityId,
	FetchType fetchType,
	string operationalTenantId
)

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: Boolean
trueif the user has the access privilege, falseotherwise
See Also