Hi All,
I am trying to write a script that pulls all the users for a db and then pulls their roles so output something like this:
Database User: SD_Web_Service NTgroup, db_owner, public
Database User: Datamir_Sup NTgroup, db_datawriter, public
Database User: DM_DSN SQL Login, db_ddladmin
I am not sure where to start other than to pull the names from sysusers?? Any ideas?