@GetMapping({"/", ""})
	@PreAuthorize("hasAnyRole('A')")
	public List<User> getAll(Role role) {
		return userService.getAll(role);
	}
Get users by the given role.

@param role user role
@return json message
ngrinder-controller/src/main/java/org/ngrinder/user/controller/UserApiController.java