I put together GetSID() - Returns SID and converts it to string format so that you won't have to use a third party util and parse through what it returns.

You will, of course, have to use KiX 4 and have ADSI. You do not however, have to be using AD.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.