I have a SID that I want to convert to Hex.
I found the following script on the web but it isnt' working.
Set oConvert = CreateObject("ADs.ArrayConvert")
strHexSid = oConvert.CvOctetStr2vHexStr(objSid)
When I execute the above script I receive error box.
Error: ActiveX component can't vreate object: 'ADs.ArrayConvert'
Source: Microsoft VBScript runtime error
If anyone could let me know what I'm doing wrong or if any dlls need to be registered or what ever I need to do I'd appreciate is.
Or if you could tell me how to pull a users SID in an NT4 domain in a Hex format that will work as well.