Run as another user configuration.

Configuration to start a process with a different user.

Hierarchy

  • RunAsConfig

Properties

domain?: string

The Active Directory domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.

elevated?: boolean

True when the process should be started elevated.

loadUserProfile?: boolean

True when the user profile should be loaded.

password?: string

The password. Its not recommended to use this, as it will be stored in plain text.

userName?: string

The user name to use when starting the process. If you use the UPN format, user@DNS_domain_name, the Domain property must be null.

Generated using TypeDoc