Kinetica   C#   API  Version 7.2.3.1
RevokePermissionSystem.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  {
25  public const string SYSTEM_ADMIN = "system_admin";
26 
29  public const string SYSTEM_USER_ADMIN = "system_user_admin";
30 
32  public const string SYSTEM_WRITE = "system_write";
33 
35  public const string SYSTEM_READ = "system_read";
36 
38  public const string SYSTEM_SEND_ALERT = "system_send_alert";
39  } // end struct Permission
40 
44  public string name { get; set; }
45 
79  public string permission { get; set; }
80 
84  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
85 
89 
131  string permission,
132  IDictionary<string, string> options = null)
133  {
134  this.name = name ?? "";
135  this.permission = permission ?? "";
136  this.options = options ?? new Dictionary<string, string>();
137  } // end constructor
138 } // end class RevokePermissionSystemRequest
139 
144 {
147  public string name { get; set; }
148 
152  public string permission { get; set; }
153 
155  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
156 } // end class RevokePermissionSystemResponse
RevokePermissionSystemRequest()
Constructs a RevokePermissionSystemRequest object with default parameters.
const string SYSTEM_WRITE
Read and write access to all tables.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string SYSTEM_SEND_ALERT
Send system alerts.
IDictionary< string, string > info
Additional information.
const string SYSTEM_USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
const string SYSTEM_ADMIN
Full access to all data and system functions.
RevokePermissionSystemRequest(string name, string permission, IDictionary< string, string > options=null)
Constructs a RevokePermissionSystemRequest object with the specified parameters.
string permission
Permission to revoke from the user or role.
A set of string constants for the parameter permission.
string permission
Value of permission.
IDictionary< string, string > options
Optional parameters.
A set of results returned by Kinetica.revokePermissionSystem.
A set of parameters for Kinetica.revokePermissionSystem.
const string SYSTEM_READ
Read-only access to all tables.
string name
Name of the user or role from which the permission will be revoked.