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 @ 12:41 AM
Points: 1,015, Visits: 2,839

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: Today @ 1:46 PM
Points: 3,297, Visits: 2,341
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
Best practices on how to ask questions
Post #1517627
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse