Oleg Ogurok
2004-09-24 16:29:33 UTC
Hi all,
How can I convert the value of objectSid property returned from AD into
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} format?
The returned value is a 28 byte array, and GUID is 16-byte (128-bit) value.
Is there a method in already available?
If not, code in C# is preferred, but other languages will do too.
Thanks.
-Oleg.
How can I convert the value of objectSid property returned from AD into
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} format?
The returned value is a 28 byte array, and GUID is 16-byte (128-bit) value.
Is there a method in already available?
If not, code in C# is preferred, but other languages will do too.
Thanks.
-Oleg.