Skip to main content

◆ grantPermissionDirectory() [1/2]

GrantPermissionDirectoryResponse kinetica.Kinetica.grantPermissionDirectory (GrantPermissionDirectoryRequestrequest_)
inline

[DEPRECATED–please use grantPermission instead] Grants a KiFS directory-level permission to a user or role.

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

Definition at line 42551 of file KineticaFunctions.cs.

◆ grantPermissionDirectory() [2/2]

GrantPermissionDirectoryResponse kinetica.Kinetica.grantPermissionDirectory (stringname,
stringpermission,
stringdirectory_name,
IDictionary< string, string >options = null )
inline

[DEPRECATED–please use grantPermission instead] Grants a KiFS directory-level permission to a user or role.

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:
  • DIRECTORY_READ: For files in the directory, access to list files, download files, or use files in server side functions.
  • DIRECTORY_WRITE: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access.
directory_nameName of the KiFS directory to which the permission grants access. An empty directory name grants access to all KiFS directories.
optionsOptional parameters. The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 42613 of file KineticaFunctions.cs.

◆ GrantPermissionDirectoryAsync() [1/2]

async System.Threading.Tasks.Task< GrantPermissionDirectoryResponse > kinetica.Kinetica.GrantPermissionDirectoryAsync (GrantPermissionDirectoryRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

[DEPRECATED–please use grantPermission instead] Grants a KiFS directory-level permission to a user or role.

(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 42570 of file KineticaFunctions.cs.

◆ GrantPermissionDirectoryAsync() [2/2]

async System.Threading.Tasks.Task< GrantPermissionDirectoryResponse > kinetica.Kinetica.GrantPermissionDirectoryAsync (stringname,
stringpermission,
stringdirectory_name,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

[DEPRECATED–please use grantPermission instead] Grants a KiFS directory-level permission to a user or role.

(async)

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:
  • DIRECTORY_READ: For files in the directory, access to list files, download files, or use files in server side functions.
  • DIRECTORY_WRITE: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access.
directory_nameName of the KiFS directory to which the permission grants access. An empty directory name grants access to all KiFS directories.
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 42661 of file KineticaFunctions.cs.