Domain User GroupParse Method
Parses the group, domain and user name from a string in the form '[group:][domain\]user'.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
An instance of the DomainUserGroup class.
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public static DomainUserGroup Parse(
string value
)VB
Public Shared Function Parse (
value As String
) As DomainUserGroupC++
public:
static DomainUserGroup^ Parse(
String^ value
)F#
static member Parse :
value : string -> DomainUserGroup Parameters
- value String
- The value to parse.
Return Value
DomainUserGroupAn instance of the DomainUserGroup class.
Remarks
If the string does not contain a group, the value of the DefaultGroup constant is used. If the string does not contain a domain, this indicates the user is a member of the domain that the target computer is joining. When using the ProvisionedDomainOptions class, the value must contain a domain.
Exceptions
| ArgumentNullException | value is . |