alter_user
- alter_user(
name: string,
action: string,
value: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AlterUserResponse>Parameters
- name: string
Name of the user to be altered. Must be an existing user.
- action: string
Modification operation to be applied to the user.
- value: string
The value of the modification, depending on
action. Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterUserResponse>
Promise<Types.AlterUserResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4814
- name: string
alter_user_request
- alter_user_request(
request: AlterUserRequest,
callback?: GPUdbCallback,
): Promise<AlterUserResponse>Alters a user.
Parameters
- request: AlterUserRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterUserResponse>
Promise<Types.AlterUserResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4787
- request: AlterUserRequest
Alters a user.