I use Perl to pack the string representation into a binary sid that the system uses. The easiest way for you to get the BinarySID would be to use ADSI and the objectSID attribute. I think that this is the same thing. If this does not work let me know and I will provide you an alternative method.

quote:
Object SID
[This is preliminary documentation and subject to change.]

The user's SID can be retrieved using the objectSID attribute. The objectSID is returned as a VARIANT array of the string.

sid = usr.Get("objectSID")



[ 24. April 2003, 13:09: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/