POV-Ray : Newsgroups : povray.off-topic : Very silly : Re: Very silly Server Time
6 Sep 2024 07:17:11 EDT (-0400)
  Re: Very silly  
From: Nicolas Alvarez
Date: 31 Mar 2009 12:21:13
Message: <49d242f9@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.