This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Translating Objectsid to SID

We have a postcreate script (powershell) that we run to set permissions for a users home directory. I am attempting to convert the script from using the users samaccountname to use the users sid. The problem is that from the $Request I am only able to pull the objectsid. I have not found a method to successfully convert the objectsid to S-1-5.... format. Any assistance would be greatly appreciated.