With the help of the integrated user management, user groups with different access rights and authorizations can be defined. Configuration and handling of the user management in Automation Builder and a PLC is decribed in an ⮫ application note.
This is relevant for a user management for a CODESYS project file. Visualizations and devices can have their own user management.
For more information, see: ⮫ “Handling of Device User Management ”
The following guide describes how you can adapt the user management for the first time in a project. It deals with the definition of a user and a group to which he belongs.
Requirement: The project for which the user management should be set up is open. There is no adapted user configuration yet.
-
Click “Project Settings Users and Groups” and then the “Users” tab. The user
Owner
is already created by default. -
Click “Add”.
The “Add User” dialog opens.
-
Specify a login name (example: "Dev1") and a password. Leave the option “Activated” activated. Click “OK”.
When you create a group for the first time, CODESYS now asks you to authenticate yourself to perform this action.
In this case, specify "Owner" as the “Current user”. Do not enter a “password”, just click “OK”.
The
Dev1
user is displayed in the list and is automatically aMember of the group 'Everyone'
. -
Change to the tab “Groups”, in order to add the user to a new group.
The groups
Everyone
andOwner
have already been created. -
Click “Add” to open the “Add Group” dialog.
-
Specify at least one name for the new group (example: "Developers"). Select the check box next to the “User "Dev1"” entry in the “Members” field. Click “OK”.
The group “Developers” now appears with
has user member 'Dev1'
. -
Click the “Users” tab.
The “Dev1” user now is now displayed as a member of the "Everyone" and "Developers" groups.
With the “Export/Import” functionality in the “Project Settings” dialog in the “Users and Groups” category, you can apply the user management from another project.
For more information, see: ⮫ “Protecting and Saving Projects ”, ⮫ “General information about write and access protection ”, ⮫ “Encryption with certificates ”, ⮫ “User management and password manager ”, ⮫ “Permission management ”, ⮫ “Filing, saving ”
-
See also: ⮫ Users and Groups