Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
GrantPermissionProc.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 
38  public struct Permission
39  {
40 
42  public const string PROC_ADMIN = "proc_admin";
43 
45  public const string PROC_EXECUTE = "proc_execute";
46  } // end struct Permission
47 
48 
51  public string name { get; set; }
52 
67  public string permission { get; set; }
68 
72  public string proc_name { get; set; }
73 
76  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
77 
78 
82 
109  string permission,
110  string proc_name,
111  IDictionary<string, string> options = null)
112  {
113  this.name = name ?? "";
114  this.permission = permission ?? "";
115  this.proc_name = proc_name ?? "";
116  this.options = options ?? new Dictionary<string, string>();
117  } // end constructor
118 
119  } // end class GrantPermissionProcRequest
120 
121 
122 
127  {
128 
131  public string name { get; set; }
132 
135  public string permission { get; set; }
136 
139  public string proc_name { get; set; }
140 
142  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
143 
144  } // end class GrantPermissionProcResponse
145 
146 
147 
148 
149 } // end namespace kinetica
A set of parameters for Kinetica.grantPermissionProc(string,string,string,IDictionary{string, string}).
string permission
Permission to grant to the user or role.
IDictionary< string, string > info
Additional information.
GrantPermissionProcRequest(string name, string permission, string proc_name, IDictionary< string, string > options=null)
Constructs a GrantPermissionProcRequest object with the specified parameters.
A set of results returned by Kinetica.grantPermissionProc(string,string,string,IDictionary{string, string}).
IDictionary< string, string > options
Optional parameters.
const string PROC_EXECUTE
Execute access to the proc.
GrantPermissionProcRequest()
Constructs a GrantPermissionProcRequest object with default parameters.
Permission to grant to the user or role.
const string PROC_ADMIN
Admin access to the proc.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string name
Name of the user or role to which the permission will be granted.
string proc_name
Name of the proc to which the permission grants access.