Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
51  public struct Permission
52  {
53 
56  public const string SYSTEM_ADMIN = "system_admin";
57 
60  public const string SYSTEM_USER_ADMIN = "system_user_admin";
61 
63  public const string SYSTEM_WRITE = "system_write";
64 
66  public const string SYSTEM_READ = "system_read";
67  } // end struct Permission
68 
69 
72  public string name { get; set; }
73 
101  public string permission { get; set; }
102 
105  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
106 
107 
111 
148  string permission,
149  IDictionary<string, string> options = null)
150  {
151  this.name = name ?? "";
152  this.permission = permission ?? "";
153  this.options = options ?? new Dictionary<string, string>();
154  } // end constructor
155 
156  } // end class GrantPermissionSystemRequest
157 
158 
159 
164  {
165 
168  public string name { get; set; }
169 
172  public string permission { get; set; }
173 
175  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
176 
177  } // end class GrantPermissionSystemResponse
178 
179 
180 
181 
182 } // end namespace kinetica
const string SYSTEM_USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
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
IDictionary< string, string > info
Additional information.
const string SYSTEM_READ
Read-only access to all tables.