GetUsersByPrivilege Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetUsersByPrivilege() method retrieves all users' access levels for a specified privilege.
'Usage
Dim privId As Integer
Dim value As DataSet
value = GrpPrivLink.GetUsersByPrivilege(privId)
Parameters
- privId
- Required. Holds the ID of the privilege whose users' access levels are being retrieved.
Return Value
Returns a DataSet that contains the list of all users' access levels for the specified privilege. If no user access levels are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
user_id |
A string that is the ID of the user from the user_grp_link.user_id column linked to this group. |
|
priv_value |
An integer that is the privilege value for this group. |