Kinetica   C#   API  Version 7.2.3.1
GrantPermissionDatasourceRequest Class Reference

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

+ Inheritance diagram for GrantPermissionDatasourceRequest:
+ Collaboration diagram for GrantPermissionDatasourceRequest:

Classes

struct  Permission
 A set of string constants for the parameter permission. More...
 

Public Member Functions

 GrantPermissionDatasourceRequest ()
 Constructs a GrantPermissionDatasourceRequest object with default parameters. More...
 
 GrantPermissionDatasourceRequest (string name, string permission, string datasource_name, IDictionary< string, string > options=null)
 Constructs a GrantPermissionDatasourceRequest object with the specified parameters. More...
 
- Public Member Functions inherited from 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 name [get, set]
 Name of the user or role to which the permission will be granted. More...
 
string permission [get, set]
 Permission to grant to the user or role. More...
 
string datasource_name [get, set]
 Name of the data source on which the permission will be granted. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 
- Properties inherited from Avro.Specific.ISpecificRecord
Schema Schema [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from 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.grantPermissionDatasource.

Grants a data source permission to a user or role.

Definition at line 17 of file GrantPermissionDatasource.cs.

Constructor & Destructor Documentation

◆ GrantPermissionDatasourceRequest() [1/2]

GrantPermissionDatasourceRequest.GrantPermissionDatasourceRequest ( )
inline

Constructs a GrantPermissionDatasourceRequest object with default parameters.

Definition at line 66 of file GrantPermissionDatasource.cs.

◆ GrantPermissionDatasourceRequest() [2/2]

GrantPermissionDatasourceRequest.GrantPermissionDatasourceRequest ( string  name,
string  permission,
string  datasource_name,
IDictionary< string, string >  options = null 
)
inline

Constructs a GrantPermissionDatasourceRequest object with the specified parameters.

Parameters
nameName of the user or role to which the permission will be granted. Must be an existing user or role.
permissionPermission to grant to the user or role. Supported values:
  • ADMIN: Admin access on the given data source.
  • CONNECT: Connect access on the given data source.
datasource_nameName of the data source on which the permission will be granted. Must be an existing data source, or an empty string to grant permission on all data sources.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 92 of file GrantPermissionDatasource.cs.

Property Documentation

◆ datasource_name

string GrantPermissionDatasourceRequest.datasource_name
getset

Name of the data source on which the permission will be granted.

Must be an existing data source, or an empty string to grant permission on all data sources.

Definition at line 57 of file GrantPermissionDatasource.cs.

◆ name

string GrantPermissionDatasourceRequest.name
getset

Name of the user or role to which the permission will be granted.

Must be an existing user or role.

Definition at line 35 of file GrantPermissionDatasource.cs.

◆ options

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

Optional parameters.

The default value is an empty Dictionary.

Definition at line 62 of file GrantPermissionDatasource.cs.

◆ permission

string GrantPermissionDatasourceRequest.permission
getset

Permission to grant to the user or role.

Supported values:

  • ADMIN: Admin access on the given data source.
  • CONNECT: Connect access on the given data source.

Definition at line 51 of file GrantPermissionDatasource.cs.


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