Create users and roles
This page is a work in progress and isn’t available for general use. It hasn’t been validated for accuracy and is subject to change at any time. |
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
Example scenario
Now that Pat has assigned tenant admins, Pat is ready to explore Identity Cloud. To get familiar with the Identity Cloud admin UI, Pat wants to create test users and roles.
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.
-
In the Identity Cloud admin UI, go to Identities > Manage.
-
On the Manage Identities page, click Alpha realm - Users and add New Alpha realm - User.
-
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!
-
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.
-
In the Identity Cloud admin UI, go to Identities > Manage.
-
On the Manage Identities page, click Alpha Realm - Roles > add New Alpha realm - Role.
-
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
-
Skip the option to assign the role conditionally, and click Next.
-
Skip the option to assign the role temporarily, and click Save.
The
employee
role page is displayed. -
Click Role Members > add Add Role Members.
-
Select your users from the drop-down list and then click Save.
The role is assigned to the users.
Validation
To validate your work:
-
In the Identity Cloud admin UI, go to Journeys and click on the
Login
journey provided as default in Identity Cloud. -
Copy and paste the
Preview URL
into an incognito window.The login page for the tenant is displayed.
-
Log in to the tenant as one of the new users and view the profile page for the user.