7 using System.Collections.Generic;
92 public const string TRUE =
"true";
93 public const string FALSE =
"false";
122 public string role {
get; set; }
171 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
235 IDictionary<string, string>
options = null)
237 this.principal = principal ??
"";
238 this.role = role ??
"";
239 this.options =
options ??
new Dictionary<string, string>();
274 public const string TRUE =
"true";
277 public const string FALSE =
"false";
325 public const string TRUE =
"true";
326 public const string FALSE =
"false";
336 public string role {
get; set; }
379 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
const string ONLY_DIRECT
If false will search recursively if the principal is a member of role.
const string TRUE
User has membership in the role
bool has_role
Indicates whether the specified user has membership in the specified target .
Indicates whether the specified user has membership in the specified target .
string role
for which membership is being checked
IDictionary< string, string > info
Additional information.
const string NO_ERROR_IF_NOT_EXISTS
If false will return an error if the provided role does not exist or is blank.
HasRoleRequest()
Constructs a HasRoleRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
const string FALSE
User does not have membership in the role
A set of parameters for Kinetica.hasRole(string,string,IDictionary{string, string}).
string role
Name of role to check for membership.
string principal
Name of the user for which role membersih is being checked.
HasRoleRequest(string principal, string role, IDictionary< string, string > options=null)
Constructs a HasRoleRequest object with the specified parameters.
A set of results returned by Kinetica.hasRole(string,string,IDictionary{string, string}).
KineticaData - class to help with Avro Encoding for Kinetica
const string DIRECT
true when principal is directly a member of the role.