Task: Add a New User Account For Another User

This task describes the process for creating a new hub user account for another user, with a degree of control that depends on your own privilege level.



Permissions Needed For This Task

Creating a new user account requires G_CREATE_USER permission.

If you also have G_ADMINISTER_USERS permission you will be able to specify the template user for the new account. Otherwise, it will be based on the default template user.

In particular, the roles initially assigned to the new account (and so the permissions for that account) will be those assigned to the default template user, plus Enabled if and only if you select Enabled in the account creation form.

Method

  1. If the CodeSonar Web GUI is not already open, open it now.
  2. If you are currently signed into a user account that does not have sufficient permissions for this task:
    1. Sign out: click your username in the GUI page header Sign In icon, then click the Sign Out link that pops up.
    2. Click the Sign In link in the GUI page header: Sign In icon
      The Sign In page will open.
    3. Sign back in as Administrator (or another user with sufficient permissions).
  3. Click the Settings icon Settings icon in the page header.

    screenshot showing location of Sign In link

    The Settings page will open.
  4. Select the User Administration tab header.
    The User Administration tab will open.
  5. Click the Create Account link (if there is no such link, you are signed into an account that does not have G_CREATE_USER permission).
    The Create Account page will open.
  6. Enter the username for the new user in the Username field.
    Usernames must be at least one character long, and are case sensitive (so that international character sets can be accommodated).
  7. Enter the user's contact email address into the Email Address field.
  8. Enter the initial password for the new user into the Password field.
    Under default hub settings, the following minimum password requirements apply. If the hub password policy has been modified, a different set of constraints may apply.
  9. Enter the initial password again into the Verify Password field.
  10. If you have a Template User menu, select the user account that you want to use as the template for the new account.
    You will not have a Template User menu if you don't have G_ADMINISTER_USERS permission. In this case, the new account will be based on the default template user.
  11. Select Enabled if you want to assign the Enabled role to the new account, otherwise deselect it.
    Being assigned the Enabled role is sufficient to guarantee that the new user account will have G_SIGN_IN permission, but note the following.
  12. Click Create account.
    If all goes well: The new account will be created, and CodeSonar will display a confirmation message.
    Otherwise: If there is a problem with any of the information provided, CodeSonar will print a warning message instead of creating the new account. At this point, the options are:
    • Try again: use the information in the warning message to correct the problematic field or fields, then click Create account.
    • Abandon account creation: use your browser's Back functionality to go back to an earlier page, or select Home from the page header to go to the Home page.

Links