Skip to main content
Skip table of contents

7 - Create an administrator account

All users in the HCMS Client are synched with the censhare server (as any other asset). The casual user management can be done directly in the HCMS Client, but the administrator account needs to be managed on the censhare server.

Prerequisites

You do not need to have admin rights for the censhare system. You will be given rights to modify assets in the domain you specified on the previous steps.

There are two worfklows depending on if you set up an SMTP server before or not.

  • If you have an SMTP server, you can confirm your registration by using the email confirmation normally.

  • If you do not have an SMTP server, you won't get any confirmations email, but there is a simple workaround using the censhare server and the Java Client.

Find user id

For this, you need to activate logging for the HCMS CSK container as explained here before following the workflow below. In the logs, find the user creation request and the HCMS response, then copy the id of the created asset. (Just id in the JSON response).

User registration with email confirmation

  1. Register new account by standard procedure (link on the login page, confirm by email)

  2. Log in to the application and go to the personal settings; url now contains user's id at the very end (for example: https://sampleportal1.dev.portal.censhare.io/#/person/114021)

  3. Use Java Client to connect to the censhare server.

  4. Find the user asset by its id.

  5. "Edit metadata", tab "Features", edit "HCMS Account Roles Granted" values

    • Change existing value person_read to person_full

    • Add new "HCMS Account Roles Granted" feature, with value management_full

  6. Log out of the application and log in again.

User registration without email confirmation

  1. Click the link on the login page and fill out the form.

  2. Connect to the censhare server using a Java Client.

  3. Search for the id.

  4. On the asset, right-click on it and select "Edit metadata".

  5. On the "Features" tab:

    • Expand "Features"

    • Find Portal:User Confirmation Key

    • Delete this feature

This will make the user confirmed.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.