Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
ShowSecurity.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 
22  {
23 
49  public struct Options
50  {
51 
67  public const string SHOW_CURRENT_USER = "show_current_user";
68  public const string TRUE = "true";
69  public const string FALSE = "false";
70  } // end struct Options
71 
72 
76  public IList<string> names { get; set; } = new List<string>();
77 
101  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
102 
103 
106  public ShowSecurityRequest() { }
107 
138  public ShowSecurityRequest( IList<string> names,
139  IDictionary<string, string> options = null)
140  {
141  this.names = names ?? new List<string>();
142  this.options = options ?? new Dictionary<string, string>();
143  } // end constructor
144 
145  } // end class ShowSecurityRequest
146 
147 
148 
153  {
154 
178  public struct Types
179  {
180 
183  public const string INTERNAL_USER = "internal_user";
184 
187  public const string EXTERNAL_USER = "external_user";
188 
190  public const string ROLE = "role";
191  } // end struct Types
192 
193 
215  public IDictionary<string, string> types { get; set; } = new Dictionary<string, string>();
216 
219  public IDictionary<string, IList<string>> roles { get; set; } = new Dictionary<string, IList<string>>();
220 
223  public IDictionary<string, IList<IDictionary<string, string>>> permissions { get; set; } = new Dictionary<string, IList<IDictionary<string, string>>>();
224 
226  public IDictionary<string, string> resource_groups { get; set; } = new Dictionary<string, string>();
227 
229  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
230 
231  } // end class ShowSecurityResponse
232 
233 
234 
235 
236 } // end namespace kinetica
ShowSecurityRequest()
Constructs a ShowSecurityRequest object with default parameters.
const string INTERNAL_USER
A user whose credentials are managed by the database system.
IDictionary< string, string > resource_groups
Map of user name to resource group name.
IDictionary< string, IList< string > > roles
Map of user/role name to a list of names of roles of which that user/role is a member.
Map of user/role name to the type of that user/role.
const string SHOW_CURRENT_USER
If true, returns only security information for the current user.
Definition: ShowSecurity.cs:67
const string EXTERNAL_USER
A user whose credentials are managed by an external LDAP.
IDictionary< string, IList< IDictionary< string, string > > > permissions
Map of user/role name to a list of permissions directly granted to that user/role.
ShowSecurityRequest(IList< string > names, IDictionary< string, string > options=null)
Constructs a ShowSecurityRequest object with the specified parameters.
IList< string > names
A list of names of users and/or roles about which security information is requested.
Definition: ShowSecurity.cs:76
A set of parameters for Kinetica.showSecurity(IList{string},IDictionary{string, string}).
Definition: ShowSecurity.cs:21
A set of results returned by Kinetica.showSecurity(IList{string},IDictionary{string, string}).
IDictionary< string, string > types
Map of user/role name to the type of that user/role.
IDictionary< string, string > options
Optional parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > info
Additional information.