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";
270 public const string TRUE =
"true";
271 public const string FALSE =
"false";
433 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
598 IDictionary<string, string>
options = null)
600 this.principal = principal ??
"";
601 this._object = _object ??
"";
602 this.object_type = object_type ??
"";
603 this.permission = permission ??
"";
604 this.options =
options ??
new Dictionary<string, string>();
640 public const string TRUE =
"true";
643 public const string FALSE =
"false";
683 public IDictionary<string, string>
filters {
get; set; } =
new Dictionary<string, string>();
686 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(string,string,string,string,IDictionary{string, string}).
const string EXECUTE
Ability to Execute the Procedure object.
const string TABLE
Database Table
A set of parameters for Kinetica.hasPermission(string,string,string,string,IDictionary{string, string}).
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
const string PROC
UDF Procedure
const string ADMIN
Full read/write and administrative access on the object.
const string SCHEMA
Schema
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
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 Supported values: CONTEXT: Context CREDENTIAL: Credential DATASINK...
const string SQL_PROC
SQL Procedure
const string READ
Ability to read, list and use the object.
The type of object being checked Supported values: CONTEXT: Context CREDENTIAL: Credential DATASINK...
Indicates whether the specified user has the specified permission on the specified target...
const string USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
string _object
Fully-qualified value of
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