UpdateUser(String,Boolean,Int32,Nullable<DateTime>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The UpdateUser() method updates the user as defined by the user object. This overload of the method includes a lastEditAt DateTime parameter that can be used for optimistic concurrency control.
'Declaration
Public Overloads Function UpdateUser( _
ByVal Description As String, _
ByVal Active As Boolean, _
ByVal LangId As Integer, _
ByVal lastEditAt As Nullable(Of Date) _
) As Date
public DateTime UpdateUser(
string Description,
bool Active,
int LangId,
Nullable<DateTime> lastEditAt
)
Parameters
- Description
Required. Holds the description to be updated for the user.
- Active
Required. Holds a flag that, if set to true, indicates that the new user is an active user.
- LangId
Required. Holds an integer value indicating the default language to be used for the new user.
- lastEditAt
Optional. Holds the date/time when this record was added or last updated, for optimistic concurrency control. If it is specified, the passed value must match the lastEditAt value in the record for the update to succeed.
Output. Holds the date/time value when the record was updated by this called method.
Return Value
Returns a DateTime with the date and time the user parameters were updated.