Ganapathi
asked on
See the Access level(Read, Write, etc.) in Sybase databases
I would like to view the level of access that the Users have in the Sybase database.
I need a query to check for it.
If I pass the user id as 'ganapas', i would like to view the access levels that the user 'ganapas' has in the database.
Access levels : Read, Write, No Access, Locked, etc.
I am sure this is an easier one with the sysusers and logins tables. But held up with other stuffs.
Would be great if someone helps me with building the Query.
TIA.
I need a query to check for it.
If I pass the user id as 'ganapas', i would like to view the access levels that the user 'ganapas' has in the database.
Access levels : Read, Write, No Access, Locked, etc.
I am sure this is an easier one with the sysusers and logins tables. But held up with other stuffs.
Would be great if someone helps me with building the Query.
TIA.
ASKER
Thanks. But it takes time to run. I have 4000+ tables and 1200+ Stored procedures in the database.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the option. I learnt something.
sp_helprotect user_x