grantPermissionSystem
public GrantPermissionSystemResponse grantPermissionSystem(GrantPermissionSystemRequest request) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a system-level permission to a user or role.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.grantPermissionSystem
public GrantPermissionSystemResponse grantPermissionSystem(String name, String permission, Map<String, String> options) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a system-level permission to a user or role.Parameters:name- Name of the user or role to which the permission will be granted. Must be an existing user or role.permission- Permission to grant to the user or role. Supported values:SYSTEM_ADMIN: Full access to all data and system functions.SYSTEM_USER_ADMIN: Access to administer users and roles that do not have system_admin permission.SYSTEM_WRITE: Read and write access to all tables.SYSTEM_READ: Read-only access to all tables.SYSTEM_SEND_ALERT: Send system alerts.
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.