public async Task DisableUserAsync(string loginName, UserCredentials?userCredentials = null,
                                           CancellationToken cancellationToken = default)
        {
            if (loginName == string.Empty)
            {
                throw new ArgumentOutOfRangeException(nameof(loginName));
            }

            await _client.DisableAsync(new DisableReq {
                Options = new DisableReq.Types.Options {
                    LoginName = loginName
                }
            }, EventStoreCallOptions.Create(Settings, Settings.OperationOptions, userCredentials, cancellationToken));
        }
        public async Task DisableUserAsync(string loginName, UserCredentials?userCredentials = null,
                                           CancellationToken cancellationToken = default)
        {
            if (loginName == string.Empty)
            {
                throw new ArgumentOutOfRangeException(nameof(loginName));
            }

            await _client.DisableAsync(new DisableReq {
                Options = new DisableReq.Types.Options {
                    LoginName = loginName
                }
            }, RequestMetadata.Create(userCredentials ?? Settings.DefaultCredentials), cancellationToken : cancellationToken);
        }