Skip to Content

Create a New User and Assign Permissions

test
0 %
Create a New User and Assign Permissions
Details
// Explore More Tutorials

Create a New User and Assign Permissions

08/09/2018

Create a new TPCH user and assign roles and privileges to the new user.

You will learn

  • How to create users in the database (and to create the TPCH schema used throughout the guide).
  • How to assign roles and privileges (permissions) to users.


Step 1: Create the TPCH user

We will begin by creating a new user which we will use throughout the tutorial. To do so, we must use HANA Cockpit. Login to HANA Cockpit, click the Resources link at the top, and select the appropriate resource, which should be a SAP HANA Tenant Database.

1.1

Scroll to the User and Role Management section, and click the Manage Users link.

1.2

At the bottom left, click the blue “+” button and select Create User.

1.3

In the new window, enter TPCH as the username, and select password for Authentication Mechanism, and type in a password. The password requirement is at least one capital letter, one lowercase letter, and one digit. Select No for Force password change on next login and keep the other options as default.

1.4

Remember the password as you will need it to login as the TPCH user.

Click the Save button at the bottom-right to add the user.

Log on to answer question
Step 2: Assign roles and privileges to the TPCH user

Once the TPCH user is created, you will be redirected to a screen featuring this new user. Under Authorization Mode, click Assign Roles.

1.5

Click Edit, followed by add on the new window. Here, you can assign roles to the TPCH user. Search and assign all the following roles by clicking the checkbox beside them. Hit OK when you are done.
* AFLPM_CREATOR_ERASER_EXECUTE
* CONTENT_ADMIN
* MODELING
* sap.hana.uis.db::SITE_DESIGNER
* sap.hana.uis.db::SITE_USER

1.6

Confirm you have added all the roles, and hit Save followed by the back arrow.

1.7

Next, we will add the required privileges by clicking the Assign Privileges link under the Authorization Mode heading (same as before).

1.8

Follow the same steps as you did for assigning roles, and assign all of the following privileges:
* EXTENDED STORAGE ADMIN
* IMPORT
* CATALOG READ

Log on to answer question
Step 3: Additional information

We will use this TPCH user through the tutorial. In the following tutorial, we will create extended storage to get started with dynamic tiering.

It is recommended to not use the SYSTEM user for day-to-day activities.
×

Next Steps

Prerequisites

  • System: Access to an SAP HANA 2.0 system with the optional SAP HANA dynamic tiering component installed.
  • Credentials: Connection details to initially connect to the tenant database as the tenant SYSTEM user.
  • Access Access to SAP HANA cockpit for the SAP HANA system that data tiering is running on and which you will be working with.
Back to top