7 using System.Collections.Generic;
39 public const string GRAPH =
"graph";
42 public const string PROC =
"proc";
45 public const string SCHEMA =
"schema";
51 public const string SYSTEM =
"system";
54 public const string TABLE =
"table";
67 public const string ADMIN =
"admin";
74 public const string CREATE =
"create";
77 public const string DELETE =
"delete";
83 public const string INSERT =
"insert";
86 public const string READ =
"read";
89 public const string UPDATE =
"update";
96 public const string WRITE =
"write";
120 public const string TRUE =
"true";
121 public const string FALSE =
"false";
277 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
433 IDictionary<string, string>
options =
null)
455 public const string TRUE =
"true";
458 public const string FALSE =
"false";
495 public IDictionary<string, string>
filters {
get;
set; } =
new Dictionary<string, string>();
498 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
IDictionary< string, string > info
Additional information.
const string DATASOURCE
Data Source
A set of results returned by Kinetica.hasPermission.
const string EXECUTE
Ability to Execute the Procedure object.
const string TABLE
Database Table
A set of parameters for Kinetica.hasPermission.
string _object
Name of object to check for the requested permission.
const string FALSE
User does not have the queried permission
const string NO_ERROR_IF_NOT_EXISTS
If FALSE will return an error if the provided _object does not exist or is blank.
const string INSERT
Insert access to tables.
string object_type
Value of object_type
const string PROC
UDF Procedure
const string ADMIN
Full read/write and administrative access on the object.
const string SCHEMA
Schema
A set of string constants for the parameter permission.
A set of string constants for the parameter options.
string permission
Permission to check for.
const string TRUE
User has the effective queried permission
IDictionary< string, string > filters
Map of column/filters that have been granted.
const string WRITE
Access to write, change and delete objects.
IDictionary< string, string > options
Optional parameters.
string principal
Name of the user for which the permission is being checked.
const string UPDATE
Update access to the table.
const string TABLE_MONITOR
Table monitor
const string CONNECT
Connect access on the given data source or data sink.
const string CREDENTIAL
Credential
string permission
Value of permission
bool has_permission
Indicates whether the specified user has the specified permission on the specified target.
HasPermissionRequest(string principal, string _object, string object_type, string permission, IDictionary< string, string > options=null)
Constructs a HasPermissionRequest object with the specified parameters.
const string SYSTEM
System-level access
const string DELETE
Delete rows from tables.
string object_type
The type of object being checked.
const string SQL_PROC
SQL Procedure
const string READ
Ability to read, list and use the object.
A set of string constants for the parameter object_type.
A set of string constants for the parameter has_permission.
const string CREATE
Ability to create new objects of this type.
const string USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
string _object
Fully-qualified value of _object
string principal
Value of principal
const string GRAPH
A Graph object
KineticaData - class to help with Avro Encoding for Kinetica
const string CONTEXT
Context
const string DATASINK
Data Sink
HasPermissionRequest()
Constructs a HasPermissionRequest object with default parameters.
const string DIRECTORY
KiFS File Directory