7 using System.Collections.Generic;
68 public const string TRUE =
"true";
69 public const string FALSE =
"false";
76 public IList<string>
names {
get; set; } =
new List<string>();
101 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
139 IDictionary<string, string>
options = null)
141 this.names = names ??
new List<string>();
142 this.options =
options ??
new Dictionary<string, string>();
190 public const string ROLE =
"role";
215 public IDictionary<string, string>
types {
get; set; } =
new Dictionary<string, string>();
219 public IDictionary<string, IList<string>>
roles {
get; set; } =
new Dictionary<string, IList<string>>();
223 public IDictionary<string, IList<IDictionary<string, string>>>
permissions {
get; set; } =
new Dictionary<string, IList<IDictionary<string, string>>>();
226 public IDictionary<string, string>
resource_groups {
get; set; } =
new Dictionary<string, string>();
229 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
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.
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.
A set of parameters for Kinetica.showSecurity(IList{string},IDictionary{string, string}).
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
IDictionary< string, string > info
Additional information.