Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 List of logins/users

Author  Topic 

srimami
Posting Yak Master

160 Posts

Posted - 2012-03-15 : 03:09:37
Hi,

Can anyone please help me out in getting the list of logins/users and the level of permissions assigned to them at one go.

Thanks,
Sri.

X002548
Not Just a Number

15586 Posts

Posted - 2012-03-15 : 13:05:39
Google is your friend

http://bytes.com/topic/sql-server/answers/142925-list-logins

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=102754


Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


Go to Top of Page

alishaali
Starting Member

8 Posts

Posted - 2012-03-28 : 04:19:58
Hi,
use master
go
Select * from sys.syslogins
go
from the above query you can get the list of all the user names and login names and permissions that they are holding ... 1 and 0 ...
Go to Top of Page
   

- Advertisement -