Kinetica C# API  Version 6.0.1.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 
20  {
21 
25  public IList<string> names { get; set; } = new List<string>();
26 
28  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
29 
30 
33  public ShowSecurityRequest() { }
34 
43  public ShowSecurityRequest( IList<string> names,
44  IDictionary<string, string> options)
45  {
46  this.names = names ?? new List<string>();
47  this.options = options ?? new Dictionary<string, string>();
48  } // end constructor
49 
50  } // end class ShowSecurityRequest
51 
52 
53 
56  {
57 
61  public struct Types
62  {
63 
66  public const string INTERNAL_USER = "internal_user";
67 
70  public const string EXTERNAL_USER = "external_user";
71 
73  public const string ROLE = "role";
74  } // end struct Types
75 
76 
79  public IDictionary<string, string> types { get; set; } = new Dictionary<string, string>();
80 
83  public IDictionary<string, IList<string>> roles { get; set; } = new Dictionary<string, IList<string>>();
84 
87  public IDictionary<string, IList<IDictionary<string, string>>> permissions { get; set; } = new Dictionary<string, IList<IDictionary<string, string>>>();
88 
89  } // end class ShowSecurityResponse
90 
91 
92 
93 
94 } // end namespace kinetica
ShowSecurityRequest()
Constructs a ShowSecurityRequest object with default parameters.
Definition: ShowSecurity.cs:33
const string INTERNAL_USER
A user whose credentials are managed by the database system.
Definition: ShowSecurity.cs:66
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.
Definition: ShowSecurity.cs:83
Map of user/role name to the type of that user/role.
Definition: ShowSecurity.cs:61
ShowSecurityRequest(IList< string > names, IDictionary< string, string > options)
Constructs a ShowSecurityRequest object with the specified parameters.
Definition: ShowSecurity.cs:43
const string EXTERNAL_USER
A user whose credentials are managed by an external LDAP.
Definition: ShowSecurity.cs:70
IDictionary< string, IList< IDictionary< string, string > > > permissions
Map of user/role name to a list of permissions directly granted to that user/role.
Definition: ShowSecurity.cs:87
IList< string > names
A list of names of users and/or roles about which security information is requested.
Definition: ShowSecurity.cs:25
A set of parameters for /show/security.
Definition: ShowSecurity.cs:19
A set of results returned by /show/security.
Definition: ShowSecurity.cs:55
IDictionary< string, string > types
Map of user/role name to the type of that user/role.
Definition: ShowSecurity.cs:79
IDictionary< string, string > options
Optional parameters.
Definition: ShowSecurity.cs:28
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14