Zend/Gdata/Gapps.php
public function addMemberToGroup($recipientAddress, $groupId)
    {
        $member = $this->newMemberEntry();

        $properties[] = $this->newProperty();
        $properties[0]->name = 'memberId';
        $properties[0]->value = $recipientAddress;

        $member->property = $properties;

        $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
        $uri .= $this->getDomain() . '/' . $groupId . '/member';

        return $this->insertMember($member, $uri);
    }
public function addMemberToGroup($recipientAddress, $groupId)
    {
        $member = $this->newMemberEntry();

        $properties[] = $this->newProperty();
        $properties[0]->name = 'memberId';
        $properties[0]->value = $recipientAddress;

        $member->property = $properties;

        $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
        $uri .= $this->getDomain() . '/' . $groupId . '/member';

        return $this->insertMember($member, $uri);
    }
public function addMemberToGroup ( $ recipientAddress , $ groupId ) { $ member = $ this -> newMemberEntry ( ) ; $ properties [ ] = $ this -> newProperty ( ) ; $ properties [ 0 ] -> name = 'memberId' ; $ properties [ 0 ] -> value = $ recipientAddress ; $ member -> property = $ properties ; $ uri = self :: APPS_BASE_FEED_URI . self :: APPS_GROUP_PATH . '/' ; $ uri .= $ this -> getDomain ( ) . '/' . $ groupId . '/member' ; return $ this -> insertMember ( $ member , $ uri ) ; }
Add an email address to a group as a member

@param string $recipientAddress Email address, member id, or group id
@param string $groupId The unique id of the group
@return Zend_Gdata_Gapps_MemberEntry The member entry returned by the server
Add an email address to a group as a member