public function searchUserGroups( $name, $parentLocationId = null )
    {
        return $this->getContext()->getUserGroupManager()->searchUserGroups( $name, $parentLocationId );
    }
public function searchUserGroups( $name, $parentLocationId = null )
    {
        return $this->getContext()->getUserGroupManager()->searchUserGroups( $name, $parentLocationId );
    }
public function searchUserGroups ( $ name , $ parentLocationId = null ) { return $ this -> getContext ( ) -> getUserGroupManager ( ) -> searchUserGroups ( $ name , $ parentLocationId ) ; }
Search User Groups with given name

@param string $name name of User Group to search for
@param string $parentLocationId (optional) parent location id to search in

@return search results
Search User Groups with given name