Kinetica C# API  Version 6.0.1.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 
18  {
19 
25  public struct Permission
26  {
27 
30  public const string SYSTEM_ADMIN = "system_admin";
31 
33  public const string SYSTEM_WRITE = "system_write";
34 
36  public const string SYSTEM_READ = "system_read";
37  } // end struct Permission
38 
39 
42  public string name { get; set; }
43 
47  public string permission { get; set; }
48 
50  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
51 
52 
56 
68  string permission,
69  IDictionary<string, string> options)
70  {
71  this.name = name ?? "";
72  this.permission = permission ?? "";
73  this.options = options ?? new Dictionary<string, string>();
74  } // end constructor
75 
76  } // end class GrantPermissionSystemRequest
77 
78 
79 
83  {
84 
87  public string name { get; set; }
88 
91  public string permission { get; set; }
92 
93  } // end class GrantPermissionSystemResponse
94 
95 
96 
97 
98 } // end namespace kinetica
A set of results returned by /grant/permission/system.
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 /grant/permission/system.
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.