alterUser
Alters a user.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.alterUser
public AlterUserResponse alterUser(String name, String action, String value, Map<String, String> options) throws GPUdbException Alters a user.Parameters:name- Name of the user to be altered. Must be an existing user.action- Modification operation to be applied to the user. Supported values:SET_ACTIVATED: Is the user allowed to login.TRUE: User may login.FALSE: User may not login.SET_COMMENT: Sets the comment for an internal user.SET_DEFAULT_SCHEMA: Set the default_schema for an internal user. An empty string means the user will have no default schema.SET_PASSWORD: Sets the password of the user. The user must be an internal user.SET_RESOURCE_GROUP: Sets the resource group for an internal user. The resource group must exist, otherwise, an empty string assigns the user to the default resource group.
value- The value of the modification, depending onaction.options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.