Utils::ConvertStringToSid Method
The ConvertStringToSid method converts a string containing a security identifier to a byte array.
Syntax
public Byte[] ConvertStringToSid(
String textSid
);
Public Function ConvertStringToSid( _
ByVal textSid As String _
) As Byte[]
Implements Utils.ConvertStringToSid
Parameters
- textSid
A string representation of a security identifier.
Return Value
A 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
Send comments about this topic to Microsoft
Build date: 2/16/2009