# strazactl assign

Assign a role to a user


```
strazactl assign <role> [flags]
```

## Options

```
      --user string   username to assign the role to
```

## Options inherited from parent commands

```
      --server string   strazad base URL (overrides $STRAZA_SERVER)
```

## See also

* [strazactl](https://docs.straza.ai/reference/cli/strazactl/index.md): Straza admin CLI



