Kinetica C# API  Version 6.2.0.1
GrantPermissionSystem.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 
10 
11 namespace kinetica
12 {
13 
20  {
21 
45  public struct Permission
46  {
47 
50  public const string SYSTEM_ADMIN = "system_admin";
51 
53  public const string SYSTEM_WRITE = "system_write";
54 
56  public const string SYSTEM_READ = "system_read";
57  } // end struct Permission
58 
59 
62  public string name { get; set; }
63 
85  public string permission { get; set; }
86 
89  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
90 
91 
95 
126  string permission,
127  IDictionary<string, string> options = null)
128  {
129  this.name = name ?? "";
130  this.permission = permission ?? "";
131  this.options = options ?? new Dictionary<string, string>();
132  } // end constructor
133 
134  } // end class GrantPermissionSystemRequest
135 
136 
137 
142  {
143 
146  public string name { get; set; }
147 
150  public string permission { get; set; }
151 
152  } // end class GrantPermissionSystemResponse
153 
154 
155 
156 
157 } // end namespace kinetica
A set of results returned by Kinetica.grantPermissionSystem(string,string,IDictionary<string, string>).
const string SYSTEM_WRITE
Read and write access to all tables.
GrantPermissionSystemRequest(string name, string permission, IDictionary< string, string > options=null)
Constructs a GrantPermissionSystemRequest object with the specified parameters.
string permission
Permission to grant to the user or role.
const string SYSTEM_ADMIN
Full access to all data and system functions.
string name
Name of the user or role to which the permission will be granted.
A set of parameters for Kinetica.grantPermissionSystem(string,string,IDictionary<string, string>).
IDictionary< string, string > options
Optional parameters.
GrantPermissionSystemRequest()
Constructs a GrantPermissionSystemRequest object with default parameters.
Permission to grant to the user or role.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string SYSTEM_READ
Read-only access to all tables.