joeblogs.ie
Use the DATABASE_PRINCIPALS view (http://msdn.microsoft.com/en-us/library/ms187328.aspx) for this:
select * from sys.database_principals
Tags: sql server
SQL Server
Related posts
Powered by BlogEngine.NET 1.5.0.7 Theme by Mads Kristensen