A set of parameters for Kinetica.hasPermission. More…
Classes | |
| struct | ObjectType |
| A set of string constants for the parameter HasPermissionRequest.object_type. More… | |
| struct | Options |
| A set of string constants for the parameter HasPermissionRequest.options. More… | |
| struct | Permission |
| A set of string constants for the parameter HasPermissionRequest.permission. More… | |
Public Member Functions | |
| HasPermissionRequest () | |
| Constructs a HasPermissionRequest object with default parameters. | |
| HasPermissionRequest (string principal, string _object, string object_type, string permission, IDictionary< string, string > options=null) | |
| Constructs a HasPermissionRequest object with the specified parameters. | |
| HasPermissionRequest () | |
| Constructs a HasPermissionRequest object with default parameters. | |
| HasPermissionRequest (string principal, string _object, string object_type, string permission, IDictionary< string, string > options=null) | |
| Constructs a HasPermissionRequest object with the specified parameters. | |
| Public Member Functions inherited from kinetica.KineticaData | |
| KineticaData (KineticaType type) | |
| Constructor from Kinetica Type. | |
| KineticaData (System.Type type=null) | |
| Default constructor, with optional System.Type. | |
| object | Get (int fieldPos) |
| Retrieve a specific property from this object. | |
| void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object. | |
| KineticaData (KineticaType type) | |
| Constructor from Kinetica Type. | |
| KineticaData (System.Type type=null) | |
| Default constructor, with optional System.Type. | |
| object | Get (int fieldPos) |
| Retrieve a specific property from this object. | |
| void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object. | |
Properties | |
| string | principal = "" [get, set] |
| Name of the user for which the permission is being checked. | |
| string | _object [get, set] |
| Name of object to check for the requested permission. | |
| string | object_type [get, set] |
| The type of object being checked. | |
| string | permission [get, set] |
| Permission to check for. | |
| IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
| Optional parameters. | |
| Properties inherited from kinetica.KineticaData | |
| Schema | Schema [get] |
| Avro Schema for this class. | |
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. | |
| static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
| Create an Avro Schema from a System.Type and a KineticaType. | |
Detailed Description
A set of parameters for Kinetica.hasPermission.
Checks if the specified user has the specified permission on the specified object.
Definition at line 16 of file HasPermission.cs.
Constructor & Destructor Documentation
◆ HasPermissionRequest() [1/4]
| inline |
Constructs a HasPermissionRequest object with default parameters.
Definition at line 367 of file HasPermission.cs.
◆ HasPermissionRequest() [2/4]
| inline |
Constructs a HasPermissionRequest object with the specified parameters.
| principal | Name of the user for which the permission is being checked. Must be an existing user. If blank, will use the current user. The default value is ”. |
| _object | Name of object to check for the requested permission. It is recommended to use a fully-qualified name when possible. |
| object_type | The type of object being checked. Supported values:
|
| permission | Permission to check for. Supported values:
|
| options | Optional parameters.
|
Definition at line 575 of file HasPermission.cs.
◆ HasPermissionRequest() [3/4]
| inline |
Constructs a HasPermissionRequest object with default parameters.
Definition at line 367 of file HasPermission.cs.
◆ HasPermissionRequest() [4/4]
| inline |
Constructs a HasPermissionRequest object with the specified parameters.
| principal | Name of the user for which the permission is being checked. Must be an existing user. If blank, will use the current user. The default value is ”. |
| _object | Name of object to check for the requested permission. It is recommended to use a fully-qualified name when possible. |
| object_type | The type of object being checked. Supported values:
|
| permission | Permission to check for. Supported values:
|
| options | Optional parameters.
|
Definition at line 575 of file HasPermission.cs.
Property Documentation
◆ _object
| getset |
Name of object to check for the requested permission.
It is recommended to use a fully-qualified name when possible.
Definition at line 159 of file HasPermission.cs.
◆ object_type
| getset |
The type of object being checked.
Supported values:
- CATALOG: External Catalog
- CONTEXT: Context
- CREDENTIAL: Credential
- DATASINK: Data Sink
- DATASOURCE: Data Source
- DIRECTORY: KiFS File Directory
- GRAPH: A Graph object
- PROC: UDF Procedure
- SCHEMA: Schema
- SQL_PROC: SQL Procedure
- SYSTEM: System-level access
- TABLE: Database Table
- TABLE_MONITOR: Table monitor
Definition at line 242 of file HasPermission.cs.
◆ options
| getset |
Optional parameters.
- NO_ERROR_IF_NOT_EXISTS: If FALSE will return an error if the provided HasPermissionRequest._object does not exist or is blank. If TRUE then it will return FALSE for has_permission. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
Definition at line 363 of file HasPermission.cs.
◆ permission
| getset |
Permission to check for.
Supported values:
- ADMIN: Full read/write and administrative access on the object.
- CONNECT: Connect access on the given data source or data sink.
- CREATE: Ability to create new objects of this type.
- DELETE: Delete rows from tables.
- EXECUTE: Ability to Execute the Procedure object.
- INSERT: Insert access to tables.
- MONITOR: Monitor logs and statistics.
- READ: Ability to read, list and use the object.
- SEND_ALERT: Ability to send system alerts.
- UPDATE: Update access to the table.
- USER_ADMIN: Access to administer users and roles that do not have system_admin permission.
- WRITE: Access to write, change and delete objects.
Definition at line 326 of file HasPermission.cs.
◆ principal
| getset |
Name of the user for which the permission is being checked.
Must be an existing user. If blank, will use the current user. The default value is ”.
Definition at line 153 of file HasPermission.cs.
The documentation for this class was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/HasPermission.cs
- Kinetica/Protocol/HasPermission.cs