private static void KeystoneCreateUser(IamClient iamClient) { var keystoneCreateUserRequest = new KeystoneCreateUserRequest() { Body = new KeystoneCreateUserRequestBody() { User = new KeystoneCreateUserOption() { Name = "", DomainId = "", Enabled = true, Password = "", Description = "" } } }; try { var keystoneCreateUserResponse = iamClient.KeystoneCreateUser(keystoneCreateUserRequest); Console.WriteLine(JsonConvert.SerializeObject(keystoneCreateUserResponse.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); } }