Check if the logged in user has the privileges to access the entity
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
public static Dictionary<string, bool> CheckPrivilegeForEntity(
BaseEntity entity,
string[] permissionlist
)
public static Dictionary<string, bool> CheckPrivilegeForEntity(
BaseEntity entity,
string[] permissionlist
)
Public Shared Function CheckPrivilegeForEntity (
entity As BaseEntity,
permissionlist As String()
) As Dictionary(Of String, Boolean)
Public Shared Function CheckPrivilegeForEntity (
entity As BaseEntity,
permissionlist As String()
) As Dictionary(Of String, Boolean)
static member CheckPrivilegeForEntity :
entity : BaseEntity *
permissionlist : string[] -> Dictionary<string, bool>
static member CheckPrivilegeForEntity :
entity : BaseEntity *
permissionlist : string[] -> Dictionary<string, bool>
Parameters
- entity
- Type: BaseEntity
Base Entity
- permissionlist
- Type: System String
Permission List
Return Value
Type:
Dictionary String,
Boolean Dictionary of Privilege Name and Status