Example #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));
        }
Example #2
0
        public SecurityGetBuiltinPrivilegesResponse GetBuiltinPrivileges(Action <SecurityGetBuiltinPrivilegesRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SecurityGetBuiltinPrivilegesRequestDescriptor();

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