Kinetica   C#   API  Version 7.2.3.0
kinetica.HasRoleRequest Class Reference

A set of parameters for Kinetica.hasRole. More...

+ Inheritance diagram for kinetica.HasRoleRequest:
+ Collaboration diagram for kinetica.HasRoleRequest:

Classes

struct  Options
 A set of string constants for the parameter options. More...
 

Public Member Functions

 HasRoleRequest ()
 Constructs a HasRoleRequest object with default parameters. More...
 
 HasRoleRequest (string principal, string role, IDictionary< string, string > options=null)
 Constructs a HasRoleRequest object with the specified parameters. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

string principal = "" [get, set]
 Name of the user for which role membersih is being checked. More...
 
string role [get, set]
 Name of role to check for membership. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.hasRole.

Checks if the specified user has the specified role.

Definition at line 16 of file HasRole.cs.

Constructor & Destructor Documentation

◆ HasRoleRequest() [1/2]

kinetica.HasRoleRequest.HasRoleRequest ( )
inline

Constructs a HasRoleRequest object with default parameters.

Definition at line 118 of file HasRole.cs.

◆ HasRoleRequest() [2/2]

kinetica.HasRoleRequest.HasRoleRequest ( string  principal,
string  role,
IDictionary< string, string >  options = null 
)
inline

Constructs a HasRoleRequest object with the specified parameters.

Parameters
principalName of the user for which role membersih is being checked. Must be an existing user. If blank, will use the current user. The default value is ''.
roleName of role to check for membership.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 174 of file HasRole.cs.

Property Documentation

◆ options

IDictionary<string, string> kinetica.HasRoleRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 114 of file HasRole.cs.

◆ principal

string kinetica.HasRoleRequest.principal = ""
getset

Name of the user for which role membersih is being checked.

Must be an existing user. If blank, will use the current user. The default value is ''.

Definition at line 63 of file HasRole.cs.

◆ role

string kinetica.HasRoleRequest.role
getset

Name of role to check for membership.

Definition at line 66 of file HasRole.cs.


The documentation for this class was generated from the following file: