private static void KeystoneListUsers(IamClient iamClient) { var keystoneListUsersRequest = new KeystoneListUsersRequest() { Enabled = true, Name = "", PasswordExpiresAt = "" }; try { var keystoneListUsersResponse = iamClient.KeystoneListUsers(keystoneListUsersRequest); foreach (var user in keystoneListUsersResponse.Users) { Console.WriteLine(JsonConvert.SerializeObject(user)); } } catch (RequestTimeoutException requestTimeoutException) { Console.WriteLine(requestTimeoutException.ErrorMessage); } catch (ServiceResponseException clientRequestException) { Console.WriteLine(clientRequestException.HttpStatusCode); Console.WriteLine(clientRequestException.ErrorCode); Console.WriteLine(clientRequestException.ErrorMsg); } catch (ConnectionException connectionException) { Console.WriteLine(connectionException.ErrorMessage); } }