Auto Logon Options(Domain User, 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.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public AutoLogonOptions(
DomainUser userAccount,
string password
)VB
Public Sub New (
userAccount As DomainUser,
password As String
)C++
public:
AutoLogonOptions(
DomainUser^ userAccount,
String^ password
)F#
new :
userAccount : DomainUser *
password : string -> AutoLogonOptionsParameters
- 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
| ArgumentNullException | userAccount or password is . |