SQL Galaxy
One Orange Chip
Points: 29472
More actions
November 26, 2013 at 5:08 am
#280500
Hi,
I want script for getting command existing user, login and their permmission etc..
there any built-in stored proc that can list the logins and the users with their permission level?
thanks
ananda
Ed Wagner
SSC Guru
Points: 287026
November 26, 2013 at 5:50 am
#1669102
ananda.murugesan (11/26/2013)Hi,I want script for getting command existing user, login and their permmission etc..there any built-in stored proc that can list the logins and the users with their permission level?thanksananda
ananda.murugesan (11/26/2013)
You can use the sp_helplogins procedure. It takes an optional parameter for a login to match against.
http://technet.microsoft.com/en-us/library/ms190304%28v=sql.100%29.aspx
Tally Tables - Performance PersonifiedString Splitting with True PerformanceBest practices on how to ask questions
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply