|
![](/i/fill.gif) |
Darren New wrote:
> Nicolas Alvarez wrote:
>> Given a username in the active directory, I challenge you to get his SID,
>> in human-readable form, using Javascript in Windows Scripting Host.
>
> Is this a start?
I tried using the Active Directory stuff (never used WMI). Getting the SID
returned a byte array. I found code online to convert that binary array to
the usually-formatted string, but apparently JScript doesn't support COM
byte arrays! (VBScript does)
Post a reply to this message
|
![](/i/fill.gif) |