# setMaxJobParallelism {#setmaxjobparallelism}

## Syntax {#syntax}

`setMaxJobParallelism(userId, maxParallelism)`

## Arguments {#arguments}

**userId** is a string indicating a user name.

**maxParallelism** is an integer between 1 and 64.

## Details {#details}

Specify the maximum number of subjobs that can be concurrently executed for the jobs submitted by the user. It must be executed by a logged-in user.

If the function is not executed, the default value of *maxParallelism* is 64 for an administrator and 2 for a non-admin user.

## Examples {#examples}

```
login(`admin,`123456)
createUser(`ElonMusk, `superman)
setMaxJobParallelism(`ElonMusk, 64);
```

