GetUserAccessByEnt Method
- Last UpdatedNov 06, 2025
- 1 minute read
'Usage
Dim entId As Integer
Dim value As DataSet
value = GrpEntLink.GetUserAccessByEnt(entId)
Parameters
- entId
- Required. Holds the ID of the entity for which the access data is to be retrieved.
Return Value
Returns a DataSet that contains all the records in the Grp_Ent_Link table that satisfy the specified filters. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
user_id |
A string that is the ID of the user. |
|
ent_access |
A Booolean that is a flag that specifies whether the user group has access privileges to the entity. |
|
max_subtree_access |
An integer that indicates the maximum access level for all descendants of the specified entity. It indicates whether each group has access to ANY (max_subtree_access = 1) of its children or NONE (max_subtree_access = 0) of them. |
|
min_subtree_access |
An integer that indicates the minimum access level for all descendants of the specified entity. It indicates whether each group has access to ALL (max_subtree_access = 1) of its children or not (max_subtree_access = 0). |