7 using System.Collections.Generic;
39 public const string TRUE =
"true";
40 public const string FALSE =
"false";
47 public IList<string>
names {
get;
set; } =
new List<string>();
71 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
106 IDictionary<string, string>
options =
null)
108 this.names =
names ??
new List<string>();
133 public const string ROLE =
"role";
157 public IDictionary<string, string>
types {
get;
set; } =
new Dictionary<string, string>();
161 public IDictionary<string, IList<string>>
roles {
get;
set; } =
new Dictionary<string, IList<string>>();
165 public IDictionary<string, IList<IDictionary<string, string>>>
permissions {
get;
set; } =
new Dictionary<string, IList<IDictionary<string, string>>>();
168 public IDictionary<string, string>
resource_groups {
get;
set; } =
new Dictionary<string, string>();
171 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.
A set of string constants for the parameter types.
const string SHOW_CURRENT_USER
If TRUE, returns only security information for the current user.
A set of string constants for the parameter options.
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.
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.
KineticaData - class to help with Avro Encoding for Kinetica
IDictionary< string, string > info
Additional information.