User accounts with different rights can be managed in CODESYS. For each account you can define the actions with which the user can access a project object.
The user management is configured in the “Project Settings”, in the “Users and Groups” category.
Before the creation of users and groups, note the following:
-
Rights can only be assigned to user groups. Therefore, you must assign each user to a group.
-
There is automatically always a group
Everyone
and by default every user and every other group is initially a member of this group. Thus each user account is automatically equipped with at least the defined standard rights.You cannot delete the group
Everyone
, you can only rename it, and you cannot remove members from this group.Caution: By default,
Everyone
does not have permission to change the current user, group, and permissions configuration. -
There is automatically always an
Owner
group which contains anOwner
user. In V3.5 and higher, only theOwner
initially has permission to change the current user, group, and rights configuration in a new project. As a result, only theOwner
can assign this permission to another group.Initially, the
Owner
can log in with theOwner
user name and an empty password.You can add more users to the
Owner
group or remove users from it, but at least one member has to remain. LikeEveryone
, you cannot delete theOwner
group and it always has all permissions granted. This prevents a project from being rendered unusable by denying all access rights to all groups.You can rename both the
Owner
group and theOwner
user. -
If the programming system or a project is restarted, no user is initially logged in to the project. However, the user can then login via a certain user account with user name and password in order to get the access rights defined for the account.
-
Each project has its own user management! Therefore, in order to get certain access rights to a library integrated into the project, for example, the user must explicitly log in to the library project.
Users and groups defined in different projects are not the same, even if they have the same names.
-
A user management in a project only makes sense if it is connected with corresponding rights assignment for the access to project and objects. The project rights are generally managed in the “Rights” dialog of the “User Management”. You can also change the access rights to an individual project object on the “Access Control” tab of the “Properties” of the object.
-
There are standard menu commands under “Project User Management” for logging into and out of a project as a defined user. A password manager permits the management of the login data on your computer.
For more information, see: ⮫ “Logging in with a User Account and Password Manager ”
In V3.5 and higher, only the Owner
initially has permission to change the current user, group, and rights configuration
in a new project. As a result, only the Owner
can assign this permission to another group.




NOTICE

CODESYS saves the user password and makes it inaccessible. If you forget a password, the
user account will be unusable. If you forget the Owner
password, then the entire project may become unusable.
Password Manager
The password manager enables you to save credential records which you specify during the login procedures for projects. It is accessible via a button in the login dialog and offers fast access to the login data currently required. This can be helpful, for example, if you are working in parallel on several library projects that are protected by different passwords.
The password manager itself is protected by an individual master password. If you want to use the password manager for the first time, CODESYS asks you to define this password in the password manager configuration dialog.
CODESYS remembers the master password until you terminate the current CODESYS session. You must always input the password when you want to log in to the password manager for the first time during a new session, or after you have changed it.
For more information, see: ⮫ “Using Permissions to Protect Objects ” and ⮫ “Handling of Device User Management ”