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

Creating roles


A role is a set of privileges. When the same set of privileges have to be assigned to all users, we create a role with all the required privileges and then assign this role to the users. We can assign a role to users or other roles. This recipe covers the creation of roles.

Getting ready

We must possess the ROLE ADMIN system privilege to grant roles to other roles and users.

How to do it…

Roles can be created in two ways: the GUI method or the SQL code, just as we did for user creation in the previous recipe. This section covers how to create roles using the GUI method.

Let's follow the given steps:

  1. Expand the Security folder in the system where a role has to be created.

  2. Expand the Roles menu, right-click on Roles, and click on New Role, as shown in the following screenshot:

  3. In the next screen, give the name of the role to be created. Assign the required roles/privileges that this role should hold.

  4. Click on Execute. This will produce a pop-up message that states Role successfully created...

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