Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
kinetica.GrantPermissionDatasourceRequest Class Reference

A set of parameters for Kinetica.grantPermissionDatasource(string,string,string,IDictionary{string, string}). More...

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

Classes

struct  Permission
 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

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 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 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 Supported values:

  • ADMIN: Admin access on the given data source
  • CONNECT: Connect access on the given data source
More...
 
string datasource_name [get, set]
 Name of the data source on which the permission will be granted. More...
 
IDictionary< string, string > options [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.grantPermissionDatasource(string,string,string,IDictionary{string, string}).


Grants a data source permission to a user or role.

Definition at line 20 of file GrantPermissionDatasource.cs.

Constructor & Destructor Documentation

kinetica.GrantPermissionDatasourceRequest.GrantPermissionDatasourceRequest ( )
inline

Constructs a GrantPermissionDatasourceRequest object with default parameters.

Definition at line 86 of file GrantPermissionDatasource.cs.

kinetica.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 115 of file GrantPermissionDatasource.cs.

Property Documentation

string kinetica.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 77 of file GrantPermissionDatasource.cs.

string kinetica.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 54 of file GrantPermissionDatasource.cs.

IDictionary<string, string> kinetica.GrantPermissionDatasourceRequest.options
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 81 of file GrantPermissionDatasource.cs.

string kinetica.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 72 of file GrantPermissionDatasource.cs.


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