public function allowAccess()
 {
     parent::allowAccess();
     if (Openbiz::$app->getUserProfile("Id")) {
         return 1;
     } else {
         return 0;
     }
 }
 public function allowAccess()
 {
     parent::allowAccess();
     $token = $_GET['token'];
     if ($user_id = $this->ValidateToken($token)) {
         $this->m_FixSearchRule = "[Id] = {$user_id}";
         return 1;
     } else {
         return 0;
     }
 }