There are also no SQL SP that can perform this task automatically.
You can however perform the following steps to clean up user accounts in the configuration database:
Note: The tables that are relevant to this scenario are UD_Machines, UD_UserMachine, UD_Users, and UD_WindowsAuthIdentities.
- Given a user SID that has been deleted from Active Directory, you would first look up the SID in the UD_WindowsAuthIdentities to find the corresponding i_UserId.
- You would then delete any occurrences of the i_UserId from the UD_UserMachine, UD_Users, and UD_WindowsAuthIdentities tables.*
- Then, if any i_MachineId entry in the UD_UserMachine table does not have another user designated besides the deleted i_UserId, than that i_MachineId should be deleted out of the UD_Machines table."
1 comment:
It is no use crying over spilt milk.............................................................
Post a Comment