MSSQL_NOOB (6/27/2013)
Issue Replication:1) Create Login for user Domain\ABC
2) User Mapping for user Domain\ABC to Database ABCTest (DB User created in ABCTest database)
3) Remove Domain\ABC username from Login
I am still able to login using Domain\ABC to ABCTEST database and query for records.
Questions
a) Is there a way to delete both Logins and DB User at the same time without having to go through each user databases looking for the username?
The GUI is a shortcut as John pointed out. Do yourself a favor though, use the Script button and review it before running it in a Query window.
b) Anyone know of any scripts that will check DB Users on each database against Logins and output those that does not exists in Logins?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato