Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 View user Permissions

Author  Topic 

arvind_ramugade
Starting Member

30 Posts

Posted - 2011-12-19 : 06:15:30
Hi All,
I'm quite new to SQL Server.
Would like to know is there any stored procedure/SQL to view permissions assigned to a user ?

Thanks
Arvind.


ramugade

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-19 : 06:24:50
see
sys.database_permissions view

http://msdn.microsoft.com/en-us/library/ms188367.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

pnash
Starting Member

26 Posts

Posted - 2011-12-19 : 13:18:53
you can also use fn_my_permissions ( securable , 'securable_class' )
function. to get the list of permission on particular user on object class.


http://msdn.microsoft.com/en-us/library/ms176097.aspx
Go to Top of Page

arvind_ramugade
Starting Member

30 Posts

Posted - 2011-12-21 : 04:29:22
Thanks !


ramugade
Go to Top of Page
   

- Advertisement -