/**
  * Execute the api call to get user app list.
  */
 public function execute()
 {
     $isAdmin = Api_Bo_Users::isUserAdmin($this->getUserId());
     if (!$isAdmin) {
         throw new Exception('Only the administrator view network properties.');
     }
     $this->checkDefaultApp();
     $enids = array();
     foreach ($this->m_nids as $nid) {
         $enids[] = $nid;
     }
     $eprops = array();
     foreach ($this->m_props as $name => $val) {
         $ename = $name;
         $eval = $val;
         $eprops[$ename] = $eval;
     }
     $props = Api_Bo_Network::getNetworkProperties($this->getUserId(), $enids, $eprops);
     $response = array('networks' => $props);
     return $response;
 }