How to convert objectSID value in Active Directory from binary form to string (SDDL representation)

How to convert objectSID value in Active Directory from binary form to string (SDDL representation)   This posting is provided “AS IS” with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm   Recently I have been working on a project in where I was…

1