Skip to main content

◆ hasPermission() [1/2]

HasPermissionResponse kinetica.Kinetica.hasPermission (HasPermissionRequestrequest_)
inline

Checks if the specified user has the specified permission on the specified object.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 43202 of file KineticaFunctions.cs.

◆ hasPermission() [2/2]

HasPermissionResponse kinetica.Kinetica.hasPermission (stringprincipal,
string_object,
stringobject_type,
stringpermission,
IDictionary< string, string >options = null )
inline

Checks if the specified user has the specified permission on the specified object.

Parameters
principalName 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 ”.
_objectName of object to check for the requested permission. It is recommended to use a fully-qualified name when possible.
object_typeThe type of object being checked. Supported values:
permissionPermission 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.
optionsOptional parameters.The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 43434 of file KineticaFunctions.cs.

◆ HasPermissionAsync() [1/2]

async System.Threading.Tasks.Task< HasPermissionResponse > kinetica.Kinetica.HasPermissionAsync (HasPermissionRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Checks if the specified user has the specified permission on the specified object.

(async)

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 43218 of file KineticaFunctions.cs.

◆ HasPermissionAsync() [2/2]

async System.Threading.Tasks.Task< HasPermissionResponse > kinetica.Kinetica.HasPermissionAsync (stringprincipal,
string_object,
stringobject_type,
stringpermission,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Checks if the specified user has the specified permission on the specified object.

(async)

Parameters
principalName 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 ”.
_objectName of object to check for the requested permission. It is recommended to use a fully-qualified name when possible.
object_typeThe type of object being checked. Supported values:
permissionPermission 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.
optionsOptional parameters.The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 43654 of file KineticaFunctions.cs.