2
2
title : Run tasks under user accounts
3
3
description : Learn the types of user accounts and how to configure them.
4
4
ms.topic : how-to
5
- ms.date : 05/16/2023
5
+ ms.date : 08/27/2024
6
6
ms.custom :
7
7
ms.devlang : csharp
8
8
# ms.devlang: csharp, java, python
@@ -159,8 +159,8 @@ pool = batchClient.PoolOperations.CreatePool(
159
159
// Add named user accounts.
160
160
pool .UserAccounts = new List <UserAccount >
161
161
{
162
- new UserAccount (" adminUser" , " xyz123 " , ElevationLevel .Admin ),
163
- new UserAccount (" nonAdminUser" , " 123xyz " , ElevationLevel .NonAdmin ),
162
+ new UserAccount (" adminUser" , " ****** " , ElevationLevel .Admin ),
163
+ new UserAccount (" nonAdminUser" , " ****** " , ElevationLevel .NonAdmin ),
164
164
};
165
165
166
166
// Commit the pool.
@@ -208,7 +208,7 @@ pool.UserAccounts = new List<UserAccount>
208
208
{
209
209
new UserAccount (
210
210
name : " adminUser" ,
211
- password : " xyz123 " ,
211
+ password : " ****** " ,
212
212
elevationLevel : ElevationLevel .Admin ,
213
213
linuxUserConfiguration : new LinuxUserConfiguration (
214
214
uid : 12345 ,
@@ -217,7 +217,7 @@ pool.UserAccounts = new List<UserAccount>
217
217
)),
218
218
new UserAccount (
219
219
name : " nonAdminUser" ,
220
- password : " 123xyz " ,
220
+ password : " ****** " ,
221
221
elevationLevel : ElevationLevel .NonAdmin ,
222
222
linuxUserConfiguration : new LinuxUserConfiguration (
223
223
uid : 45678 ,
0 commit comments