• Thanks for this, I was just looking for some way of reversing the varbinary to SID. Trying to see just how much work I need to do as part of an AD migration.

    Out of curiosity how did you work out the method of reversing the varbianry to get the correct SID?

    Many thanks

    JQ