Kinetica C# API  Version 6.1.0.0
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 
88  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
89 
90 
94 
124  string permission,
125  IDictionary<string, string> options)
126  {
127  this.name = name ?? "";
128  this.permission = permission ?? "";
129  this.options = options ?? new Dictionary<string, string>();
130  } // end constructor
131 
132  } // end class GrantPermissionSystemRequest
133 
134 
135 
140  {
141 
144  public string name { get; set; }
145 
148  public string permission { get; set; }
149 
150  } // end class GrantPermissionSystemResponse
151 
152 
153 
154 
155 } // 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.
string permission
Permission to grant to the user or role.
const string SYSTEM_ADMIN
Full access to all data and system functions.
GrantPermissionSystemRequest(string name, string permission, IDictionary< string, string > options)
Constructs a GrantPermissionSystemRequest object with the specified parameters.
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.