7 using System.Collections.Generic;
39 public const string TRUE =
"true";
40 public const string FALSE =
"false";
66 public string role {
get;
set; }
114 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
176 IDictionary<string, string>
options =
null)
179 this.role =
role ??
"";
197 public const string TRUE =
"true";
200 public const string FALSE =
"false";
223 public const string TRUE =
"true";
224 public const string FALSE =
"false";
233 public string role {
get;
set; }
272 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 role.
A set of string constants for the parameter has_role.
string role
role for which membership is being checked
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter info.
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 role
Name of role to check for membership.
A set of string constants for the parameter options.
string principal
Value of principal
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.
KineticaData - class to help with Avro Encoding for Kinetica
const string DIRECT
TRUE when principal is directly a member of the role.