AutoLogonOptions(DomainUser, String) Constructor

Initializes a new instance of the AutoLogonOptions class with the specified account and password.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.0.0+89a02853fc03095ce3d28e19ceda0fd8e02a7ef0
C#
public AutoLogonOptions(
	DomainUser userAccount,
	string password
)

Parameters

userAccount  DomainUser
The domain or local account used to log on automatically.
password  String
The password of the account used to log on automatically.

Exceptions

ArgumentNullExceptionuserAccount or password is .

See Also