DomainUserGroupParse 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.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public static DomainUserGroup Parse(
	string value
)

Parameters

value  String
The value to parse.

Return Value

DomainUserGroup
An 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

See Also