public function all($status = 'ACTIVE')
    {
        $ids = [$this->data->primary_id];
        foreach ($this->data->user_identifier as $identifier) {
            if (is_null($status) || $identifier->status == $status) {
                $ids[] = $identifier->value;
            }
        }

        return $ids;
    }
public function all($status = 'ACTIVE')
    {
        $ids = [$this->data->primary_id];
        foreach ($this->data->user_identifier as $identifier) {
            if (is_null($status) || $identifier->status == $status) {
                $ids[] = $identifier->value;
            }
        }

        return $ids;
    }
public function all ( $ status = 'ACTIVE' ) { $ ids = [ $ this -> data -> primary_id ] ; foreach ( $ this -> data -> user_identifier as $ identifier ) { if ( is_null ( $ status ) || $ identifier -> status == $ status ) { $ ids [ ] = $ identifier -> value ; } } return $ ids ; }
Get a flat array of all the user IDs.

@param string $status (Default: 'ACTIVE').

@return string[]
Get a flat array of all the user IDs .