LocalCredentialParse Method

Parses the domain and user name from a string in the form 'user,password' or 'group:user,password'.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public static LocalCredential Parse(
	string value
)

Parameters

value  String
The value to parse.

Return Value

LocalCredential
An instance of the LocalCredential class.

Remarks

If the string does not contain a group, the value of the DefaultGroup constant is used.

Exceptions

ArgumentNullExceptionvalue is .
FormatExceptionvalue is not in a valid format.

See Also