Using the server query functionality