grant_permission_system
- grant_permission_system(
name: string,
permission: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<GrantPermissionSystemResponse>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.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GrantPermissionSystemResponse>
Promise<Types.GrantPermissionSystemResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10805
- name: string
grant_permission_system_request
- grant_permission_system_request(
request: GrantPermissionSystemRequest,
callback?: GPUdbCallback,
): Promise<GrantPermissionSystemResponse>[DEPRECATED—please use
grant_permissioninstead] Grants a system-level permission to a user or role.Parameters
- request: GrantPermissionSystemRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GrantPermissionSystemResponse>
Promise<Types.GrantPermissionSystemResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10779
- request: GrantPermissionSystemRequest
[DEPRECATED—please use
grant_permissioninstead] Grants a system-level permission to a user or role.