Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Request for script list of logins and the users? Expand / Collapse
Author
Message
Posted Tuesday, November 26, 2013 5:08 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 7:11 AM
Points: 1,044, Visits: 2,930

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
Post #1517615
Posted Tuesday, November 26, 2013 5:50 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Friday, July 18, 2014 2:05 PM
Points: 3,943, Visits: 2,957
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?

thanks
ananda

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 Personified
String Splitting with True Performance
Best practices on how to ask questions
Post #1517627
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse