Skip to main content
Version: 7.0

User: Edit

The module is used for creating and modifying users. It writes user information from a file (CSV format) to a client that can be created with the module info.UserRead. A lot of user options can be set and the memberships of user groups can be defined.

Designation

Name
mc.UserEdit
Aliases
UserManageEdit

Configuration

Mode (mode)
Defines if the module should just create or modify the user or if it should do both (whatever is required)Mögliche Werte: Both (both), Create (create), Modify (modify)
Generate passwords for new user (generate-password)
If the option is set new random passwords will be generate for new users if no password has been specified. The generated passwords will be written to the input file.
Ignore missing groups (ignore-missing-groups)
Missing groups will not cause an error in processing
Synchronize LDAP data (sync-ldap)
Synchronize LDAP data for users with LDAP connection enabled
Ignore failed LDAP synchronisation (ignore-sync-ldap-error)
If set errors during LDAP synchronisation will be ignored

Description

If the option Synchronize LDAP data is set, the data from the LDAP synchronization is written back to the file. A similar procedure is used with the option Generate passwords for new users, where the generated passwords are written to the file.

Structure of the CSV input file

Column nameTypeMandatory fieldDefault value
User nameUser nameYes
DepartmentDepartmentYes
PasswordString
First nameString
Last NameString
ActiveBooleantrue
LockedBooleanfalse
Does not expireBooleanfalse
Must be changedBooleanfalse
LDAP connectionBooleanfalse
e-mail 1e-mail address
e-mail 2e-mail address
GroupsObject nameYes
FolderFolder structureYes
TitleString

Special features

Title
The last column does not have to exist in the input file. However, it can be omitted from all other columns.
Groups
Several groups are separated by commas. If a user group does not exist in the target, the group is not assigned. **If the user has an authorization group that is not assigned to the user in the file, the user group is removed from the user profile.
Folder
The folder parameter contains the client as a default value (as specified by the info.UserRead module) as a first level qualifier <client>/folder/folder. This must be observed if the source and target client do not match. In this case, a folder with the name of the source client would be created in the target client.