Utils.ConvertSecurityDescriptorToString Method
The ConvertSecurityDescriptorToString method converts a byte array containing a security descriptor to a string.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
'Usage
Dim sd As Byte()
Dim returnValue As String
returnValue = Utils.ConvertSecurityDescriptorToString(sd)
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Unrestricted:=True)> _
Public Shared Function ConvertSecurityDescriptorToString ( _
sd As Byte() _
) As String
[PermissionSetAttribute(SecurityAction.Demand, Unrestricted=true)]
public static string ConvertSecurityDescriptorToString (
byte[] sd
)
[PermissionSetAttribute(SecurityAction::Demand, Unrestricted=true)]
public:
static String^ ConvertSecurityDescriptorToString (
array<unsigned char>^ sd
)
/** @attribute PermissionSetAttribute(SecurityAction.Demand, Unrestricted=true) */
public static String ConvertSecurityDescriptorToString (
byte[] sd
)
public static function ConvertSecurityDescriptorToString (
sd : byte[]
) : String
- sd
The security descriptor to convert.
A string representation of the security descriptor.
Exception type | Condition |
---|---|
System.ArgumentNullException | The argument is null. |
System.ComponentModel.Win32Exception | The Win32 function returns a failure. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Utils Class
Utils Members
Microsoft.MetadirectoryServices Namespace