private static void KeystoneUpdateUserPassword(IamClient iamClient) { var keystoneUpdateUserPasswordRequest = new KeystoneUpdateUserPasswordRequest() { UserId = "", Body = new KeystoneUpdateUserPasswordRequestBody() { User = new KeystoneUpdatePasswordOption() { OriginalPassword = "", Password = "" } } }; try { var keystoneUpdateUserPasswordResponse = iamClient.KeystoneUpdateUserPassword(keystoneUpdateUserPasswordRequest); Console.WriteLine(keystoneUpdateUserPasswordResponse.HttpStatusCode); } 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); } }