private static void KeystoneAddUserToGroup(IamClient iamClient) { var keystoneAddUserToGroupRequest = new KeystoneAddUserToGroupRequest() { UserId = "", GroupId = "" }; try { var keystoneAddUserToGroupResponse = iamClient.KeystoneAddUserToGroup(keystoneAddUserToGroupRequest); Console.WriteLine(keystoneAddUserToGroupResponse.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); } }