Below is the script that would first identify and display Orphaned users. Then this output is passed to the next level which identifies the objects owned by this User in all the databases I have implemented temporary tables hence the entire script should Read More...