Domain UserParse Method
Parses the domain and user name from a string in the form 'domain\user' or just 'user'.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
An instance of the DomainUser class.
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public static DomainUser Parse(
string value
)VB
Public Shared Function Parse (
value As String
) As DomainUserC++
public:
static DomainUser^ Parse(
String^ value
)F#
static member Parse :
value : string -> DomainUser Parameters
- value String
- The value to parse.
Return Value
DomainUserAn instance of the DomainUser class.
Exceptions
| ArgumentNullException | value is . |