private static void KeystoneRemoveUserFromGroup(IamClient iamClient) { var keystoneRemoveUserFromGroupRequest = new KeystoneRemoveUserFromGroupRequest() { UserId = "", GroupId = "" }; try { var keystoneRemoveUserFromGroupResponse = iamClient.KeystoneRemoveUserFromGroup(keystoneRemoveUserFromGroupRequest); Console.WriteLine(keystoneRemoveUserFromGroupResponse.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); } }