Kinetica C# API  Version 6.2.0.1
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 
27  public IList<string> names { get; set; } = new List<string>();
28 
31  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
32 
33 
36  public ShowSecurityRequest() { }
37 
47  public ShowSecurityRequest( IList<string> names,
48  IDictionary<string, string> options = null)
49  {
50  this.names = names ?? new List<string>();
51  this.options = options ?? new Dictionary<string, string>();
52  } // end constructor
53 
54  } // end class ShowSecurityRequest
55 
56 
57 
62  {
63 
87  public struct Types
88  {
89 
92  public const string INTERNAL_USER = "internal_user";
93 
96  public const string EXTERNAL_USER = "external_user";
97 
99  public const string ROLE = "role";
100  } // end struct Types
101 
102 
124  public IDictionary<string, string> types { get; set; } = new Dictionary<string, string>();
125 
128  public IDictionary<string, IList<string>> roles { get; set; } = new Dictionary<string, IList<string>>();
129 
132  public IDictionary<string, IList<IDictionary<string, string>>> permissions { get; set; } = new Dictionary<string, IList<IDictionary<string, string>>>();
133 
134  } // end class ShowSecurityResponse
135 
136 
137 
138 
139 } // end namespace kinetica
ShowSecurityRequest()
Constructs a ShowSecurityRequest object with default parameters.
Definition: ShowSecurity.cs:36
Map of user/role name to the type of that user/role.
Definition: ShowSecurity.cs:87
ShowSecurityRequest(IList< string > names, IDictionary< string, string > options=null)
Constructs a ShowSecurityRequest object with the specified parameters.
Definition: ShowSecurity.cs:47
IList< string > names
A list of names of users and/or roles about which security information is requested.
Definition: ShowSecurity.cs:27
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>).
Definition: ShowSecurity.cs:61
IDictionary< string, string > options
Optional parameters.
Definition: ShowSecurity.cs:31
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14