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.0.0+89a02853fc03095ce3d28e19ceda0fd8e02a7ef0
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