7 using System.Collections.Generic;
27 public IList<string>
names {
get; set; } =
new List<string>();
31 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
48 IDictionary<string, string>
options = null)
50 this.names = names ??
new List<string>();
51 this.options =
options ??
new Dictionary<string, string>();
99 public const string ROLE =
"role";
124 public IDictionary<string, string>
types {
get; set; } =
new Dictionary<string, string>();
128 public IDictionary<string, IList<string>>
roles {
get; set; } =
new Dictionary<string, IList<string>>();
132 public IDictionary<string, IList<IDictionary<string, string>>>
permissions {
get; set; } =
new Dictionary<string, IList<IDictionary<string, string>>>();
135 public IDictionary<string, string>
resource_groups {
get; set; } =
new Dictionary<string, string>();
138 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 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.