Kinetica   C#   API  Version 7.2.3.0
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 namespace kinetica
10 {
18  {
22  public struct Options
23  {
37  public const string SHOW_CURRENT_USER = "show_current_user";
38 
39  public const string TRUE = "true";
40  public const string FALSE = "false";
41  } // end struct Options
42 
47  public IList<string> names { get; set; } = new List<string>();
48 
71  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
72 
75  public ShowSecurityRequest() { }
76 
105  public ShowSecurityRequest( IList<string> names,
106  IDictionary<string, string> options = null)
107  {
108  this.names = names ?? new List<string>();
109  this.options = options ?? new Dictionary<string, string>();
110  } // end constructor
111  } // end class ShowSecurityRequest
112 
117  {
122  public struct Types
123  {
126  public const string INTERNAL_USER = "internal_user";
127 
130  public const string EXTERNAL_USER = "external_user";
131 
133  public const string ROLE = "role";
134  } // end struct Types
135 
157  public IDictionary<string, string> types { get; set; } = new Dictionary<string, string>();
158 
161  public IDictionary<string, IList<string>> roles { get; set; } = new Dictionary<string, IList<string>>();
162 
165  public IDictionary<string, IList<IDictionary<string, string>>> permissions { get; set; } = new Dictionary<string, IList<IDictionary<string, string>>>();
166 
168  public IDictionary<string, string> resource_groups { get; set; } = new Dictionary<string, string>();
169 
171  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
172  } // end class ShowSecurityResponse
173 } // end namespace kinetica
ShowSecurityRequest()
Constructs a ShowSecurityRequest object with default parameters.
Definition: ShowSecurity.cs:75
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.
A set of string constants for the parameter types.
const string SHOW_CURRENT_USER
If TRUE, returns only security information for the current user.
Definition: ShowSecurity.cs:37
A set of string constants for the parameter options.
Definition: ShowSecurity.cs:22
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:47
A set of parameters for Kinetica.showSecurity.
Definition: ShowSecurity.cs:17
A set of results returned by Kinetica.showSecurity.
IDictionary< string, string > types
Map of user/role name to the type of that user/role.
IDictionary< string, string > options
Optional parameters.
Definition: ShowSecurity.cs:71
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > info
Additional information.