# user.shell_choices

Return the available shell choices to be used in user.create and user.update.

param group_ids:

  List of local group IDs for the user.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: group_ids

#### group_ids

Type: array of integer Default: []

Array of group IDs to filter shell choices. Empty array returns all shells.

No Additional Items

##### Each item of this array must be:

Type: integer

##

#### Result

Type: object

Object of available shell paths and their descriptive names.

Example:

    {
        "/usr/bin/bash": "bash",
        "/usr/bin/dash": "dash",
        "/usr/bin/rbash": "rbash",
        "/usr/bin/sh": "sh",
        "/usr/bin/tmux": "tmux",
        "/usr/bin/zsh": "zsh",
        "/usr/sbin/nologin": "nologin"
    }

Required roles: ACCOUNT_READ | READONLY_ADMIN