func (c *Client) ModelUserInfo() ([]params.ModelUserInfo, error) {
	var results params.ModelUserInfoResults
	err := c.facade.FacadeCall("ModelUserInfo", nil, &results)
	if err != nil {
		return nil, errors.Trace(err)
	}

	info := []params.ModelUserInfo{}
	for i, result := range results.Results {
		if result.Result == nil {
			return nil, errors.Errorf("unexpected nil result at position %d", i)
		}
		info = append(info, *result.Result)
	}
	return info, nil
}
// ModelUserInfo returns information on all users in the model.
ModelUserInfo returns information on all users in the model.
// ModelUserInfo returns information on all users in the model .
func (c *Client) ModelUserInfo() ([]params.ModelUserInfo, error) {
	var results params.ModelUserInfoResults
	err := c.facade.FacadeCall("ModelUserInfo", nil, &results)
	if err != nil {
		return nil, errors.Trace(err)
	}
	info := []params.ModelUserInfo{}
	for i, result := range results.Results {
		if result.Result == nil {
			return nil, errors.Errorf("unexpected nil result at position %d", i)
		}
		info = append(info, *result.Result)
	}
	return info, nil
}
func ( c * Client ) ModelUserInfo ( ) ( [ ] params . ModelUserInfo , error ) { var results params . ModelUserInfoResults err := c . facade . FacadeCall ( " " , nil , & results ) if err != nil { return nil , errors . Trace ( err ) } info := [ ] params . ModelUserInfo { } for i , result := range results . Results { if result . Result == nil { return nil , errors . Errorf ( " " , i ) } info = append ( info , * result . Result ) } return info , nil }
ModelUserInfo returns information on all users in the model.
ModelUserInfo returns information on all users in the model .