Ejemplo n.º 1
0
        public Task <SecurityGetBuiltinPrivilegesResponse> GetBuiltinPrivilegesAsync(Action <SecurityGetBuiltinPrivilegesRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SecurityGetBuiltinPrivilegesRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SecurityGetBuiltinPrivilegesRequestDescriptor, SecurityGetBuiltinPrivilegesResponse>(descriptor));
        }
Ejemplo n.º 2
0
        public SecurityGetBuiltinPrivilegesResponse GetBuiltinPrivileges(Action <SecurityGetBuiltinPrivilegesRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SecurityGetBuiltinPrivilegesRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SecurityGetBuiltinPrivilegesRequestDescriptor, SecurityGetBuiltinPrivilegesResponse>(descriptor));
        }