Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SAP HANA Cookbook

You're reading from   SAP HANA Cookbook Your all-inclusive guide to understanding SAP HANA with practical recipes with over 50 recipes

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781782177623
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. SAP HANA Studio – Look and Feel 2. Data Provisioning FREE CHAPTER 3. Modeling 4. Reporting 5. Advanced Features in SAP HANA 6. User Management A. Introduction to SAP HANA B. Architecture C. Applications Powered by SAP HANA Index

Assigning roles to users


Roles created can be assigned to users, thus providing authorization to users for objects/data. In this recipe, we will see how to assign roles to users.

Getting ready

In order to assign roles to users, we should have roles and users created readily.

How to do it…

We will be assigning roles to users as follows:

  1. Open the user from the Security folder.

  2. From the Granted Roles tab, add a role by searching for the created role. In our example, the role is COOKBOOK_ROLE, as shown in the following screenshot.

  3. Then activate the user by clicking on Deploy.

How it works…

When a role is assigned to a user, the privileges and other roles that the newly created role holds are inherited by the user that we assign the role to. Thus, when we use that user ID and start modeling in SAP HANA Studio, all the privileges come to action and thereby the user gets all the assigned authorizations that are inherited as a part of the assigned role.

There's more…

The same set of actions as assigning roles...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image