GetPrivObject Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetPrivObject() method retrieves the Priv object for the requested privilege by its enumeration.
'Declaration
Public Function GetPrivObject( _
ByVal privId As Privileges _
) As Priv
public Priv GetPrivObject(
Privileges privId
)
Parameters
- privId
- Required. Holds the ID of the privilege to be returned.
Return Value
Returns a Priv object for the requested privilege, or null if the privilege does
not exist.