SetUserGroupPrivValue Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SetUserGroupPrivValue() method sets the value of the specified privilege for the specified user group.
'Declaration
Public Shared Function SetUserGroupPrivValue( _
ByVal groupID As Integer, _
ByVal privID As Integer, _
ByVal value As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As Date
public static DateTime SetUserGroupPrivValue(
int groupID,
int privID,
string value,
Nullable<DateTime> lastEditAt
)
Parameters
- groupID
- Required. Holds the ID of the group whose privilege value is being set.
- privID
- Required. Holds the ID of the privilege whose value is being set.
- value
- Required. Holds the value to which to set the privilege.
- lastEditAt
- Optional. Holds a DateTime value that can be used to avoid data contention. If it is specified, the value must match that value in the database for the update to succeed.
Return Value
Returns a DateTime with the date and time the user group privilege was updated.