Share via


Utils::ConvertStringToSecurityDescriptor Method

The ConvertStringToSecurityDescriptor method converts a string containing a security descriptor to a byte array.

Syntax

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

Parameters

  • sddl
    An SDDL-formatted string representation of a security descriptor.

Return Value

A security descriptor.

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