Kinetica C# API  Version 7.0.19.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 
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 
135  public IDictionary<string, string> resource_groups { get; set; } = new Dictionary<string, string>();
136 
138  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
139 
140  } // end class ShowSecurityResponse
141 
142 
143 
144 
145 } // end namespace kinetica
ShowSecurityRequest()
Constructs a ShowSecurityRequest object with default parameters.
Definition: ShowSecurity.cs:36
const string INTERNAL_USER
A user whose credentials are managed by the database system.
Definition: ShowSecurity.cs:92
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.
Definition: ShowSecurity.cs:87
const string EXTERNAL_USER
A user whose credentials are managed by an external LDAP.
Definition: ShowSecurity.cs:96
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.
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 > types
Map of user/role name to the type of that user/role.
IDictionary< string, string > options
Optional parameters.
Definition: ShowSecurity.cs:31
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > info
Additional information.