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";
156 public IDictionary<string, string>
types {
get;
set; } =
new Dictionary<string, string>();
160 public IDictionary<string, IList<string>>
roles {
get;
set; } =
new Dictionary<string, IList<string>>();
164 public IDictionary<string, IList<IDictionary<string, string>>>
permissions {
get;
set; } =
new Dictionary<string, IList<IDictionary<string, string>>>();
167 public IDictionary<string, string>
resource_groups {
get;
set; } =
new Dictionary<string, string>();
170 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
A set of parameters for Kinetica.showSecurity.
ShowSecurityRequest()
Constructs a ShowSecurityRequest object with default parameters.
IDictionary< string, string > info
Additional information.
KineticaData - class to help with Avro Encoding for Kinetica
ShowSecurityRequest(IList< string > names, IDictionary< string, string > options=null)
Constructs a ShowSecurityRequest object with the specified parameters.
IDictionary< string, string > types
Map of user/role name to the type of that user/role.
IDictionary< string, string > options
Optional parameters.
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.
const string INTERNAL_USER
A user whose credentials are managed by the database system.
IList< string > names
A list of names of users and/or roles about which security information is requested.
IDictionary< string, IList< IDictionary< string, string > > > permissions
Map of user/role name to a list of permissions directly granted to that user/role.
A set of string constants for the parameter types.
IDictionary< string, string > resource_groups
Map of user name to resource group name.
A set of results returned by Kinetica.showSecurity.
const string EXTERNAL_USER
A user whose credentials are managed by an external LDAP.
A set of string constants for the parameter options.
const string SHOW_CURRENT_USER
If TRUE, returns only security information for the current user.