• No thanks needed as I'm not defending anyone. One thing I don't mention is that when submitting code the author should do his/her best to ensure that it is working.

    Now back the this code. Your script will re add users that are orphaned but what if they don't exist? Would your script remove them from the database?

    I would modify your script so that it checks if the login exists. If not it should be removed from the database.

    Thanks,

    Rudy

    Rudy