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 concerns a user management for a CODESYS project file. Visualizations and devices can have their own 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 is to be set up is opened. There is no adapted user configuration yet.
-
Select “Project Settings Users and Groups” and then the “Users” tab. The user
Owner
is already created by default. -
Click on “Add”.
The dialog box “Add User” appears.
-
Enter a login name, for example 'Dev1', and a password. Leave the option “Activated” activated. Click on “OK”.
On creating a group for the first time, CODESYS now requests you to authenticate yourself to perform this action.
In this case, enter 'Owner' as the “current user”. Do not enter a “password”, just click on “OK”.
The user
Dev1
appears 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 on “Add” in order to open the dialog box “Add Group”.
-
Specify at least one name for the new group, for example 'Developers'. Activate the checkbox next to the entry “User 'Dev1'” in the field “Members”. Click on “OK”.
The group “Developers” now appears with
has user member 'Dev1'
. -
Switch to the “Users” tab.
The user “Dev1” now appears as a member of the groups 'Everyone' and 'Developers'.
You can take over the user management configuration from another project by using the “Export/Import” functions in the dialog box “Project Settings”, category “Users and Groups”.