Declaration
public RunAsUserParams(
string username,
SecureString password,
bool loadProfile = false,
string domain = null
)
Summary
Constructor.
Parameters
string | username |
The name of the user account under which to run the process. |
SecureString | password |
The password for the username account. |
bool | loadProfile |
Specifies whether the target process will access the HKCU registry area. Loading the user profile can be
time-consuming, so it is optional. |
string | domain |
ActiveDirectory domain of the required user account. |