public function getGroups()
    {
        if(!$this->isPropertyAvailable('Groups')){
            $this->setProperty("Groups", new GroupCollection($this->getContext(), new ResourcePathEntity($this->getContext(),$this->getResourcePath(), "groups")));
        }
        return $this->getProperty("Groups");
    }
public function getGroups()
    {
        if(!$this->isPropertyAvailable('Groups')){
            $this->setProperty("Groups", new GroupCollection($this->getContext(), new ResourcePathEntity($this->getContext(),$this->getResourcePath(), "groups")));
        }
        return $this->getProperty("Groups");
    }
public function getGroups ( ) { if ( ! $ this -> isPropertyAvailable ( 'Groups' ) ) { $ this -> setProperty ( "Groups" , new GroupCollection ( $ this -> getContext ( ) , new ResourcePathEntity ( $ this -> getContext ( ) , $ this -> getResourcePath ( ) , "groups" ) ) ) ; } return $ this -> getProperty ( "Groups" ) ; }
Gets the collection of groups of which the user is a member.
@return GroupCollection
Gets the collection of groups of which the user is a member .