# setMaxJobPriority {#setmaxjobpriority}

## Syntax {#syntax}

`setMaxJobPriority(userId, maxPriority)`

## Arguments {#arguments}

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

**maxPriority** is an integer between 0 and 8.

## Details {#details}

Specify the highest priority of the jobs submitted by the user. It can only be executed by an administrator.

## Examples {#examples}

```
login(`admin,`123456)
createUser(`KyleMurray, `Cardinals2020QB)
setMaxJobPriority(`KyleMurray, 7);
```

