7 using System.Collections.Generic;
108 public const string GRAPH =
"graph";
111 public const string PROC =
"proc";
123 public const string TABLE =
"table";
192 public const string ADMIN =
"admin";
208 public const string READ =
"read";
218 public const string WRITE =
"write";
288 public const string TRUE =
"true";
289 public const string FALSE =
"false";
462 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
638 IDictionary<string, string>
options = null)
640 this.principal = principal ??
"";
641 this._object = _object ??
"";
642 this.object_type = object_type ??
"";
643 this.permission = permission ??
"";
644 this.options =
options ??
new Dictionary<string, string>();
674 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
const string SCHEMA
Schema
const string SQL_PROC
SQL Procedure
string permission
Permission being granted.
string _object
Name of object permission is being granted to.
const string CONNECT
Connect access on the given data source or data sink.
The type of object being granted to Supported values: CONTEXT: Context CREDENTIAL: Credential DATAS...
const string ADMIN
Full read/write and administrative access on the object.
const string UPDATE
Update access to the table.
string object_type
The type of object being granted to Supported values: CONTEXT: Context CREDENTIAL: Credential DATAS...
A set of results returned by Kinetica.grantPermission(string,string,string,string,IDictionary{string, string}).
GrantPermissionRequest(string principal, string _object, string object_type, string permission, IDictionary< string, string > options=null)
Constructs a GrantPermissionRequest object with the specified parameters.
const string CONTEXT
Context
string principal
Name of the user or role for which the permission is being granted.
string object_type
Value of .
const string COLUMNS
Apply table security to these columns, comma-separated.
const string DELETE
Delete rows from tables.
IDictionary< string, string > info
Additional information.
string permission
Value of .
IDictionary< string, string > options
Optional parameters.
const string PROC
UDF Procedure
Permission being granted.
const string DATASINK
Data Sink
A set of parameters for Kinetica.grantPermission(string,string,string,string,IDictionary{string, string}).
const string EXECUTE
Ability to Execute the Procedure object.
const string READ
Ability to read, list and use the object.
const string FILTER_EXPRESSION
Optional filter expression to apply to this grant.
const string WITH_GRANT_OPTION
Allow the recipient to grant the same permission (or subset) to others Supported values: TRUE FALSE ...
const string TABLE
Database Table
const string TABLE_MONITOR
Table monitor
const string INSERT
Insert access to tables.
const string GRAPH
A Graph object
const string CREDENTIAL
Credential
string principal
Value of .
const string DATASOURCE
Data Source
const string WRITE
Access to write, change and delete objects.
const string USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
const string SYSTEM
System-level access
KineticaData - class to help with Avro Encoding for Kinetica
GrantPermissionRequest()
Constructs a GrantPermissionRequest object with default parameters.
const string DIRECTORY
KIFS File Directory