Share via


Utils::ConvertSidToString Method

The ConvertSidToString method converts a byte array containing a security identifier to a string.

Syntax

public String ConvertSidToString(
  Byte[] sid
);
Public Function ConvertSidToString( _
  ByVal sid As Byte[] _
) As String
Implements Utils.ConvertSidToString

Parameters

  • sid
    The security identifier to convert.

Return Value

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 ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Utils

Send comments about this topic to Microsoft

Build date: 2/16/2009