Kinetica   C#   API  Version 7.2.3.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 namespace kinetica
10 {
17  {
22  public struct Permission
23  {
26  public const string SYSTEM_ADMIN = "system_admin";
27 
30  public const string SYSTEM_USER_ADMIN = "system_user_admin";
31 
33  public const string SYSTEM_WRITE = "system_write";
34 
36  public const string SYSTEM_READ = "system_read";
37  } // end struct Permission
38 
42  public string name { get; set; }
43 
72  public string permission { get; set; }
73 
77  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
78 
82 
119  string permission,
120  IDictionary<string, string> options = null)
121  {
122  this.name = name ?? "";
123  this.permission = permission ?? "";
124  this.options = options ?? new Dictionary<string, string>();
125  } // end constructor
126  } // end class GrantPermissionSystemRequest
127 
132  {
135  public string name { get; set; }
136 
140  public string permission { get; set; }
141 
143  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
144  } // end class GrantPermissionSystemResponse
145 } // 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.
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.
IDictionary< string, string > options
Optional parameters.
GrantPermissionSystemRequest()
Constructs a GrantPermissionSystemRequest object with default parameters.
A set of string constants for the parameter permission.
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.