Quantcast
Channel: SCN: Message List - How to find out all the users who have privileges on a specific schema?
Browsing latest articles
Browse All 6 View Live

How to find out all the users who have privileges on a specific schema?

I have a couple of users, and I don't want to check users' privileges one by one.Thanks.

View Article



Re: How to find out all the users who have privileges on a specific schema?

Hi Leslie, Get the username for a given schema name from SAP HANA Reference: EFFECTIVE_PRIVILEGES. Regards, Ravi

View Article

How to find out all the users who have privileges on a specific schema?

Hi, Ravi, Thanks for answering. I used SYSTEM to try the statementSELECT USER_NAME FROM EFFECTIVE_PRIVILEGES WHERE SCHEMA_NAME = <MYSCHEMA>; I got an error saying SAP DBTech JDBC: [8]: invalid...

View Article

Re: How to find out all the users who have privileges on a specific schema?

Hi Leslie Yang, Please check if the following blog from Tomas would help you out.http://scn.sap.com/community/hana-in-memory/blog/2012/08/31/sap-hana--how-to-analyze-who-has-access-to-particular-object...

View Article

Re: How to find out all the users who have privileges on a specific schema?

Hi, Probhith, Tomas's blog has much more information. I found what I need.This simple SQL can solve my problem.SELECT GRANTEE, GRANTEE_TYPE, OBJECT_TYPE, SCHEMA_NAME, OBJECT_NAME, PRIVILEGE FROM...

View Article


Re: How to find out all the users who have privileges on a specific schema?

HI Leslie Yang, Great to hear that your problem is solved. Request you to close the thread(if possible), so that people can use your solution for their reference as-well. BRPrabhith

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images