示例#1
0
 public function ProcessDataRequest($dataRequest)
 {
     if ($dataRequest == 'permissions') {
         $this->page->SetJsonResponse($this->GetUserResourcePermissions());
     } elseif ($dataRequest == 'groups') {
         $this->page->SetJsonResponse($this->GetUserGroups());
     } elseif ($dataRequest == 'all') {
         $users = $this->userRepository->GetAll();
         $this->page->SetJsonResponse($users);
     }
 }