Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
GrantPermissionCredential.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 
23  {
24 
43  public struct Permission
44  {
45 
48  public const string CREDENTIAL_ADMIN = "credential_admin";
49 
51  public const string CREDENTIAL_READ = "credential_read";
52  } // end struct Permission
53 
54 
57  public string name { get; set; }
58 
75  public string permission { get; set; }
76 
80  public string credential_name { get; set; }
81 
84  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
85 
86 
90 
119  string permission,
120  string credential_name,
121  IDictionary<string, string> options = null)
122  {
123  this.name = name ?? "";
124  this.permission = permission ?? "";
125  this.credential_name = credential_name ?? "";
126  this.options = options ?? new Dictionary<string, string>();
127  } // end constructor
128 
129  } // end class GrantPermissionCredentialRequest
130 
131 
132 
137  {
138 
141  public string name { get; set; }
142 
145  public string permission { get; set; }
146 
150  public string credential_name { get; set; }
151 
153  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
154 
155  } // end class GrantPermissionCredentialResponse
156 
157 
158 
159 
160 } // end namespace kinetica
string name
Name of the user or role to which the permission will be granted.
A set of parameters for Kinetica.grantPermissionCredential(string,string,string,IDictionary{string, string}).
const string CREDENTIAL_ADMIN
Full read/write and administrative access on the credential.
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.grantPermissionCredential(string,string,string,IDictionary{string, string}).
GrantPermissionCredentialRequest(string name, string permission, string credential_name, IDictionary< string, string > options=null)
Constructs a GrantPermissionCredentialRequest object with the specified parameters.
string credential_name
Name of the credential on which the permission will be granted.
GrantPermissionCredentialRequest()
Constructs a GrantPermissionCredentialRequest object with default parameters.
const string CREDENTIAL_READ
Ability to read and use the credential.
string permission
Permission to grant to the user or role.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > options
Optional parameters.