SetUserGroupPrivileges Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SetUserGroupPrivileges() method updates the value of the privileges in the list for the user group that is specified. The privileges list is a list of ordered pairs in the format "#:#". The first value is the privilege ID and the second value is the value. Each grp_priv_link record for the privileges in the list and for the specified user are updated with the values in the list.
'Declaration
Public Shared Sub SetUserGroupPrivileges( _
ByVal userGrpID As Integer, _
ByVal privileges As Hashtable _
)
public static void SetUserGroupPrivileges(
int userGrpID,
Hashtable privileges
)
Parameters
- userGrpID
Required. Holds the ID of the user group for which privileges are being set.
- privileges
Required. Holds a string that is a list of ordered pairs in the format "#:#" that identify the privilege to be updated and the value that the privilege is to be given.