Logging in with a User Account and Password Manager

Logging in to a project without using the password manager functions

Requirement: A project is open. You want to log in as a defined user for this project or for a library integrated in it in order to edit one or the other with certain rights. You have the required login data for the respective project or the library.

  1. Click Project → User Management → Log In User.

    The dialog Login opens.

  2. Select the project file from Project/library and enter the required access data User name and Password.

  3. Login with OK.

    If another user is already logged in, this user will automatically be logged out by the new login.

Setting a master password for the password manager

Requirement: A project is open. The dialog Login is open for you to log in as a defined user for a project or for a library integrated in the project. You want to use the password manager in order to save login data in it.

  1. Click Project → User Management → Log In User.

  2. In the Login dialog, click the _cds_icon_password_manager.png button.

    If you are working for the first time with the password manager, the dialog Password manager configuration opens.

  3. Enter a string as the future master password. Confirm it in the second line and click OK.

    CODESYS remembers the master password until you terminate the current CODESYS session. You must always input this 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.

[Important] Important

If you have forgotten your master password, you no longer have any possibility to access the login data already saved! In this case you can only reset the password manager. After that you must start again to save passwords in the manager!

Saving credentials in the password manager

Requirement: A project is open. You want to log in as a defined user for this project or for a library integrated in it in order to edit one or the other with certain rights. You have the required login data for the respective project or the library. These login data have not yet been saved in the password manager.

  1. Click Project → User Management → Log In User to open the Login dialog.

  2. Select the project file from Project/library.

  3. Enter the user name and password for the project or the library.

  4. Click the _cds_icon_password_manager.png button.

    If you are working for the first time with the password manager, you will be requested to define a master password. See the above instructions "Setting a master password for the password manager" for this.

    When you call the password manager for the first time in this CODESYS session, you will be requested to enter the master password.

  5. Enter the master password when requested to do so.

    The password manager menu appears.

  6. Select the option Save login data locally on this computer.

    The login takes place. The data are saved in the password manager.

Getting the credentials from the password manager

Requirement: A project is open. You want to log in as a defined user for this project or for a library integrated in it in order to edit one or the other with certain rights. The login data required for this are already saved in the password manager.

  1. Click Project → User Management → Log In User to open the Login dialog.

  2. Click the _cds_icon_password_manager.png button.

    If you are working for the first time with the password manager, you will be requested to define a master password. See the above instructions "Setting a master password for the password manager" for this.

    When you call the password manager for the first time in this CODESYS session, you will be requested to enter the master password.

  3. Enter the master password when requested to do so.

    The password manager menu appears.

  4. Select the suitable Use saved login data for <user name> entry.

    The login takes place automatically with the data read from the password manager.

Opening the password manager, changing the master password

Requirement: A project is open. You want to open the password manager in order to view and/or edit the entries or to change the master password. You have already logged in once with the master password.

  1. Click Project → User Management → Log In User to open the Login dialog.

  2. Click the _cds_icon_password_manager.png button.

    Select Open password manager.

    The password manager window opens.

  3. Click Change Master Password and make the change.

Logging out from the project

Requirement: A project is open. A user is logged in, which is recognizable by a name entry in the field Current user in the status bar.

  • Click Project → User Management → Log Out User. Alternatively, double-click the field Current user in the status bar.

    If the user is logged in to only one project, he will now be logged out without further interaction. (nobody) appears again in the field Current user in the status bar

    If the user is logged in to several projects, the dialog Logout opens. There, select the specific project or library project from which the user is to be logged out.

For more information, see: User management and password manager and Setting Up User Management