DomainUser(String, String) Constructor

Initializes a new instance of the DomainUser class.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public DomainUser(
	string? domain,
	string userName
)

Parameters

domain  String
The domain of the account, or if this is a local account.
userName  String
The account user name.

Remarks

In some cases, setting domain to may represent a member of some default domain instead of a local account; if this is the case, it will be mentioned in the documentation for the property or method that uses this class.

Exceptions

ArgumentNullExceptionuserName is .

See Also