/** * Function to get the user list of role * * @param GetUserListOfRole $parameters * @return GetUserListOfRoleResponse */ public function getUserListOfRole( $role){ try { return $this->userStoreManager->getUserListOfRole( $role); } catch (Exception $ex) { var_dump( $ex); exit; throw new Exception("Unable to get user list of roles.", 0, $ex); } }