Microsoft Identity Integration Server 2003 Developer Reference

Utils.ConvertStringToSid

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

Parameters

textSid
A string representation of a security identifier.

Return Values

A 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