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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 domain migration imminent -- how to list users?

Author  Topic 

steelkilt
Constraint Violating Yak Guru

255 Posts

Posted - 2004-07-21 : 10:24:36
Hi, I've just found out that all of my users (me included)are being migrated to a new domain.

I use SQL Server 7.0 on NT 2000 Server.

I want to get ahead of the game if possible and get the new accounts added to resources while the old accounts are still active.

Is there a script of some sort that would allow me to list all SQL Server 7.0 resources a specific user has permissions to?

thanks!

JasonGoff
Posting Yak Master

158 Posts

Posted - 2004-07-22 : 05:09:01
This will give you some idea of who has permissions to what in each database (by no means complete !)

select u.name as [User],o.name as [object],p.*
from sysobjects o
inner join syspermissions p on o.id=p.id
inner join sysusers u on u.uid=p.grantee

Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2004-07-22 : 05:36:33
This is probably a master..sysLogins problem, rather than a database..sysUsers problem isn't it?

I'll shut up now because I don't know how to do this!

Kristen
Go to Top of Page
   

- Advertisement -