usermanagment.go
func (c *Client) ListResourcesByType(resourcetype string) (*Resources, error) {
	url := umResourcesType(resourcetype) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Resources{}
	err := c.client.Get(url, ret, http.StatusOK)
	return ret, err
}
func (c *Client) ListResourcesByType(resourcetype string) (*Resources, error) {
	url := umResourcesType(resourcetype) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Resources{}
	err := c.client.Get(url, ret, http.StatusOK)
	return ret, err
}
//ListResourcesByType list resources by type