7 using System.Collections.Generic;
25 public IList<string>
names {
get; set; } =
new List<string>();
28 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
44 IDictionary<string, string>
options)
46 this.names = names ??
new List<string>();
47 this.options = options ??
new Dictionary<string, string>();
73 public const string ROLE =
"role";
79 public IDictionary<string, string>
types {
get; set; } =
new Dictionary<string, string>();
83 public IDictionary<string, IList<string>>
roles {
get; set; } =
new Dictionary<string, IList<string>>();
87 public IDictionary<string, IList<IDictionary<string, string>>>
permissions {
get; set; } =
new Dictionary<string, IList<IDictionary<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, 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.
ShowSecurityRequest(IList< string > names, IDictionary< string, string > options)
Constructs a ShowSecurityRequest object with the specified parameters.
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.
IList< string > names
A list of names of users and/or roles about which security information is requested.
A set of parameters for /show/security.
A set of results returned by /show/security.
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