UpdateUserGroup Method
- Last UpdatedNov 06, 2025
- 1 minute read
The UpdateUserGroup() method updates the data of the specified user group.
'Declaration
Public Shared Sub UpdateUserGroup( _
ByVal userGrpID As Integer, _
ByVal users As ArrayList, _
ByVal entIDs As List(Of Integer), _
ByRef entLastEditAt As Hashtable, _
ByVal privileges As Hashtable, _
ByRef privLastEditAt As Hashtable _
)
public static void UpdateUserGroup(
int userGrpID,
ArrayList users,
List<int> entIDs,
ref Hashtable entLastEditAt,
Hashtable privileges,
ref Hashtable privLastEditAt
)
Parameters
- userGrpID
- Required. Holds the ID of the user group whose data is being updated.
- users
- Holds a list of the users that are part of this group.
- entIDs
- Holds a list of IDs for the entities to which the user group has access.
- entLastEditAt
- Required. Holds the list of key/value pairs where the key is ent_id and the value is a DateTime. If supplied, the DateTime must match the value in the database or the grp_ent_link record for the group. Otherwise, an error will be thrown during the update.
- privileges
Holds 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.
- privLastEditAt
- Required. Holds a list of key/value pairs where the key is priv_id and the value is a DateTime. If supplied, the DateTime must match the value in the database or the grp_prive record for the group and privilege. Otherwise, an error will be thrown during the update.