func (c *Client) ListCustomerUsers(i *ListCustomerUsersInput) ([]*User, error) {
	if i.CustomerID == "" {
		return nil, ErrMissingCustomerID
	}

	path := fmt.Sprintf("/customer/%s/users", i.CustomerID)
	resp, err := c.Get(path, nil)
	if err != nil {
		return nil, err
	}

	var u []*User
	if err := decodeBodyMap(resp.Body, &u); err != nil {
		return nil, err
	}
	sort.Stable(usersByName(u))
	return u, nil
}
// ListCustomerUsers returns the full list of users belonging to a specific
// customer.
ListCustomerUsers returns the full list of users belonging to a specific
customer.
// ListCustomerUsers returns the full list of users belonging to a specific // customer .
func (c *Client) ListCustomerUsers(i *ListCustomerUsersInput) ([]*User, error) {
	if i.CustomerID == "" {
		return nil, ErrMissingCustomerID
	}
	path := fmt.Sprintf("/customer/%s/users", i.CustomerID)
	resp, err := c.Get(path, nil)
	if err != nil {
		return nil, err
	}
	var u []*User
	if err := decodeBodyMap(resp.Body, &u); err != nil {
		return nil, err
	}
	sort.Stable(usersByName(u))
	return u, nil
}
func ( c * Client ) ListCustomerUsers ( i * ListCustomerUsersInput ) ( [ ] * User , error ) { if i . CustomerID == " " { return nil , ErrMissingCustomerID } path := fmt . Sprintf ( " " , i . CustomerID ) resp , err := c . Get ( path , nil ) if err != nil { return nil , err } var u [ ] * User if err := decodeBodyMap ( resp . Body , & u ) ; err != nil { return nil , err } sort . Stable ( usersByName ( u ) ) return u , nil }
ListCustomerUsers returns the full list of users belonging to a specific
customer.
ListCustomerUsers returns the full list of users belonging to a specific customer .