Thread: Group Tasks
View Single Post
  #4  
Old 04-17-2014, 10:12 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

This is one method, there are other methods.

Code:
$Group_ID = $client->GetGroup()->GetID();
		
my @clientlist = $entity_list->GetClientList();
	
foreach $cur (@clientlist) 
{
	if ($cur) 
	{
               if ($Group_ID)
			{
				if ($cur->GetGroup())
				{
					$Client_GroupID = $cur->GetGroup()->GetID();
                                       {
                                        Shout("We are in the same group");
					}
				}
}}}}
Reply With Quote