Hi, I found some of the users who has db_owner right, I'm afraid that more people have it. Is there a way to find them using a script? Thanks a lot, Sarah
sg, In a single database, to show the members of the db_owner role: sp_helpuser db_owner RLF "sg" wrote in message news:D4AF6802-F1F0-4F26-A62C-1D6955A9BC59@microsoft.com... > Hi, > > I found some of the users who has db_owner right, I'm afraid that more > people have it. Is there a way to find them using a script? > > Thanks a lot, > Sarah
Thanks very much Russell, it is very helpful and simple. "Russell Fields" wrote: > sg, > > In a single database, to show the members of the db_owner role: > > sp_helpuser db_owner > > RLF > > "sg" wrote in message > news:D4AF6802-F1F0-4F26-A62C-1D6955A9BC59@microsoft.com... > > Hi, > > > > I found some of the users who has db_owner right, I'm afraid that more > > people have it. Is there a way to find them using a script? > > > > Thanks a lot, > > Sarah > > >