grant_permission_proc
- grant_permission_proc(
name: string,
permission: string,
proc_name: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<GrantPermissionProcResponse>Parameters
- name: string
Name of the user or role to which the permission will be granted. Must be an existing user or role.
- permission: string
Permission to grant to the user or role.
- proc_name: string
Name of the proc to which the permission grants access. Must be an existing proc, or an empty string to grant access to all procs.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GrantPermissionProcResponse>
Promise<Types.GrantPermissionProcResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10751
- name: string
grant_permission_proc_request
- grant_permission_proc_request(
request: GrantPermissionProcRequest,
callback?: GPUdbCallback,
): Promise<GrantPermissionProcResponse>[DEPRECATED—please use
grant_permissioninstead] Grants a proc-level permission to a user or role.Parameters
- request: GrantPermissionProcRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GrantPermissionProcResponse>
Promise<Types.GrantPermissionProcResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10723
- request: GrantPermissionProcRequest
[DEPRECATED—please use
grant_permissioninstead] Grants a proc-level permission to a user or role.