| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
StartTask.userIdentity()
Get if omitted, the task runs as a non-administrative user unique to the task.
|
UserIdentity |
UserIdentity.withAutoUser(AutoUserSpecification autoUser)
Set the userName and autoUser properties are mutually exclusive; you must specify one but not both.
|
UserIdentity |
UserIdentity.withUserName(String userName)
Set the userName and autoUser properties are mutually exclusive; you must specify one but not both.
|
| Modifier and Type | Method and Description |
|---|---|
StartTask |
StartTask.withUserIdentity(UserIdentity userIdentity)
Set if omitted, the task runs as a non-administrative user unique to the task.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/