Question Locked

Identify and remove orphan sql accounts

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, we are using windows authentication and many contractors had access to our production database thru their domain account. though their domain accounts have been disabled/removed, I want to make sure that they don't exist in SQL Server or in the database.

Is there a script that I can use to identify orphan accounts and delete them in SQL Server?

Thanks,
Moiz

2 replies

This discussion is closed to new replies.