group.go
func (dom *Domain) GetGroup(name string) (*Group, error) {
	var d dictionary
	err := dom.cgp.request(getGroup{Name: fmt.Sprintf("%s@%s", name, dom.Name)}, &d)
	if err != nil {
		return &Group{}, err
	}
	memStr := d.toMap()["Members"]
	var mems []*Account
	dec := xml.NewDecoder(bytes.NewBufferString(memStr))
	for {
		var a string
		err := dec.Decode(&a)
		if err == io.EOF {
			break
		}
		if err != nil {
			return dom.Group(name, mems), err
		}
		if a == "" {
			continue
		}
		mems = append(mems, dom.Account(a))
	}
	return dom.Group(name, mems), nil
}
func (dom *Domain) GetGroup(name string) (*Group, error) {
	var d dictionary
	err := dom.cgp.request(getGroup{Name: fmt.Sprintf("%s@%s", name, dom.Name)}, &d)
	if err != nil {
		return &Group{}, err
	}
	memStr := d.toMap()["Members"]
	var mems []*Account
	dec := xml.NewDecoder(bytes.NewBufferString(memStr))
	for {
		var a string
		err := dec.Decode(&a)
		if err == io.EOF {
			break
		}
		if err != nil {
			return dom.Group(name, mems), err
		}
		if a == "" {
			continue
		}
		mems = append(mems, dom.Account(a))
	}
	return dom.Group(name, mems), nil
}
// GetGroup retrieves a group from a domain with the given group name