Summary
Specifies credentials and settings required to run a process as a different user.
Constructors
RunAsUserParams(string username, SecureString password, bool loadProfile = false, string domain = null) |
Constructor. |
RunAsUserParams(string username, string password, bool loadProfile = false, string domain = null) |
Instance properties
| string | | Specifies the ActiveDirectory domain of the required user account. |
| bool | | Gets a value indicating whether the user profile is to be loaded, which can be time-consuming. |
| SecureString | | Gets the password for the RunAsUserParams.Username account. |
| string | | Gets the name of the user account under which to run the process. |