Microsoft Identity Integration Server 2003 Developer Reference

Utils.ConvertSidToString

The ConvertSidToString method converts a byte array containing a security identifier to a string.
[C#]
public String ConvertSidToString(
  Byte[] sid
);
[Visual Basic .NET]
Public Function ConvertSidToString( _
  ByVal sid As Byte[] _
) As String
Implements Utils.ConvertSidToString

Parameters

sid
The security identifier to convert.

Return Values

A string representation of the security identifier.

Exceptions

Exception type Condition
ArgumentNullException The argument is null.
Win32Exception The Win32 function returns a failure.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Utils