SQL Server – Logins, Users


sp_helpuser

SELECT * FROM sys.database_principals


SELECT loginname FROM syslogins where loginname like '%NAME%'


EXEC sp_helplogins

Leave a Reply

Your email address will not be published. Required fields are marked *