Identity Cloud

Create test users and roles

While this use case was validated for accuracy, it can always be improved. To provide feedback, click thumb_up or thumb_down in the top right of this page (you must be logged into Backstage).

Description

Estimated time to complete: 10 minutes

In this use case, you create test users and roles, assign users to roles, and log in to the Identity Cloud End User UI as one of the users.

Goals

After completing this use case, you will know how to do the following:

  • Create new users

  • Create a role

  • Assign the role to the users

Prerequisites

Before you start, make sure you have a basic understanding of these ForgeRock concepts:

  • Identity Cloud admin UI

  • Identity Cloud End User UI

Tasks

Task 1: Create new users

In this task, you create two new users.

  1. In the Identity Cloud admin UI, go to people Identities > Manage.

    Add new user
  2. On the Manage Identities page, click people Alpha realm - Users and add New Alpha realm - User.

  3. On the New Alpha realm - User page, enter the following information for the user, and then click Save:

    Field Value

    Username

    acruse

    First Name

    alex

    Last Name

    cruse

    Email Address

    alex.cruse@example.com

    Password

    Secret12!

  4. Go back to the New Alpha realm - User page and repeat the last step to add another user with the following values:

    Field Value

    Username

    braman

    First name

    bina

    Last name

    raman

    Email Address

    bina.raman@example.com

    Password

    Secret12!

Task 2: Create a role

In this task, you create a role called employee. Roles define privileges for user and device identities. Although the role isn’t required for this use case, you can bulk assign users to an application when they are assigned a role.

  1. In the Identity Cloud admin UI, go to people Identities > Manage.

    Add new role
  2. On the Manage Identities page, click assignment_ind Alpha Realm - Roles > add New Alpha realm - Role.

  3. On the role page, enter the following information for the role and then click Next:

    Field Value

    Name

    employee

    Description

    Role granted to workers on the company payroll

  4. Skip the option to assign the role conditionally, and click Next.

  5. Skip the option to assign the role temporarily, and click Save.

    The employee role page is displayed.

  6. Click Role Members > add Add Role Members.

  7. Select your users from the drop-down list and then click Save.

    The role is assigned to the users.

Check in

At this point, you:

Created two new users

Created a role

Assigned the role to the users

Validation

To validate your work:

  1. In the Identity Cloud admin UI, go to account_tree Journeys and click on the Login journey provided as default in Identity Cloud.

  2. Copy and paste the Preview URL into an incognito window.

    The login page for the tenant is displayed.

  3. Log in to the tenant as one of the new users and view the profile page for the user.

Explore further

Reference material

Reference Description

Roles

Information about roles

Login

Information about the default login journey

Copyright © 2010-2024 ForgeRock, all rights reserved.