Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Privilege SELECT on P_USERS_ (SYS)

$
0
0

Hi experts!

 

I need get data from SYS.P_USERS_ table with limited user.

What I did:

Logon in system as SYSTEM user and created user TEST1 with System Privileges CATALOG READ.

01.png

Logon in system as TEST1 user and input SQL query:

SELECT NAME from SYS.P_USERS_

02.png

Get error:

Could not execute 'SELECT NAME from SYS.P_USERS_' in 2 ms 24 µs .

SAP DBTech JDBC: [258]: insufficient privilege: Not authorized


Ok, go to TEST1 user properties as SYSTEM user and trying add SELECT privileges for 'P_USERS_ (SYS)'.

Get error:

03.png

Could not modify user 'TEST1'. Could not grant privilege SELECT on P_USERS_ (SYS) You are not authorized to perform the required actions


QUESTION!

How I can get data from SYS.P_USERS_ table with limited user TEST1 ????


UPD:

As an experiment, I added ALL system privileges to user TEST1

04.png

butthis alsodid not remedythe situation.



Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>