Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

which user Login

Status
Not open for further replies.

SQLBaby

IS-IT--Management
Jan 3, 2003
158
US

How can i check which user login with which databses, any procedure or command which shows these information.

Thanks

Knowledge is a key of success.



 
Do you mean you want to see which databases a specific login has access to? One way is to double-click on the login from within Ent Mgr (Security -> Logins container) and look in the Database Access tab.

--James
 
no, actualy we have many users in other states too, and some time we need to check that how many and and who is logedin right now with databse "ABC", so we know these persons are working on this datbase right now.

Knowledge is a key of success.



 
To see current connections execute sp_who, or use the Current Activity window in Enterprise Mgr (in the Management container under the server).

--James
 

Thanks JamesLean, it works.

Knowledge is a key of success.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top