protected function get_roleids_for(string $field) {
        $value = $this->raw_get($field);
        if (empty($value)) {
            return [];
        }

        return json_decode($value);
    }
protected function get_roleids_for(string $field) {
        $value = $this->raw_get($field);
        if (empty($value)) {
            return [];
        }

        return json_decode($value);
    }
protected function get_roleids_for ( string $ field ) { $ value = $ this -> raw_get ( $ field ) ; if ( empty ( $ value ) ) { return [ ] ; } return json_decode ( $ value ) ; }
Get the list of role IDs for either expiredroles, or unexpiredroles.

@param   string  $field
@return  int[]
Get the list of role IDs for either expiredroles or unexpiredroles .