GetPriv Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetPriv() method retrieves the maximum privilege value for the group specified by the supplied user ID and privilege ID.
'Declaration
Public Shared Sub GetPriv( _
ByVal userId As String, _
ByVal privId As Integer, _
ByRef privValue As Integer _
)
'Usage
Dim userId As String
Dim privId As Integer
Dim privValue As Integer
GrpPrivLink.GetPriv(userId, privId, privValue)
Parameters
- userId
- Required. Holds the user ID for identifying the group.
- privId
- Required. Holds the privilege ID for identifying the group.
- privValue
- Output. Holds the returned maximum privilege value for the group identified by the supplied user ID and privilege ID.