private static void KeystoneCheckUserInGroup(IamClient iamClient) { var keystoneCheckUserInGroupRequest = new KeystoneCheckUserInGroupRequest() { GroupId = "", UserId = "" }; try { var keystoneCheckUserInGroupResponse = iamClient.KeystoneCheckUserInGroup(keystoneCheckUserInGroupRequest); Console.WriteLine(keystoneCheckUserInGroupResponse.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); } }