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 @ 3:58 AM
Points: 1,061, Visits: 3,020

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
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 1:48 PM
Points: 4,053, Visits: 3,490
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