AddUser(String,String,String,Boolean,Int32,DateTime) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The AddUser() method adds a new user and sets the default language ID for the user. This overload of the method includes a lastEditAt DateTime parameter that can be used for optimistic concurrency control.
public static void AddUser(
string userId,
string description,
string password,
bool active,
int langId,
out DateTime LastEditAt
)
Parameters
- userId
- Required. Holds the ID of the new user being added.
- description
- Required. Holds the description saved for the new user.
- password
- Required. Holds the encrypted password for the new user.
- active
- Required. Holds a flag that, if set to true, indicates that the new user is an active user.
- langId
- Required. Holds the ID of the default language to be used by the new user.
- LastEditAt
- Optional. Holds a returned DateTime that is the lastEditAt date/time value for the user record being added. Can be used in other methods for optimistic concurrency control.