DomainCredential Constructor

Initializes a new instance of the DomainCredential class.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public DomainCredential(
	DomainUser userAccount,
	string password
)

Parameters

userAccount  DomainUser
The domain or local user account.
password  String
The password.

Remarks

  Security Note

Passwords in answer files are not encrypted. They are plain text at worst, and base64 encoded at best. Do not store answer files with sensitive passwords in public locations.

Exceptions

ArgumentNullExceptionuserAccount or password is .

See Also