Tag Info

Hot answers tagged


You can script it out similar to this: EXEC sp_Msforeachdb "IF EXISTS (SELECT * FROM sys.database_principals WHERE name = N'USERNAME') DROP USER [USERNAME]" GO I've only used it for individual users, not for groups, but it should work.

Only top voted, non community-wiki answers of a minimum length are eligible