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