grantRole
Grants membership in a role 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.grantRole
public GrantRoleResponse grantRole(String role, String member, Map<String, String> options) throws GPUdbException Grants membership in a role to a user or role.Parameters:role- Name of the role in which membership will be granted. Must be an existing role.member- Name of the user or role that will be granted membership inrole. Must be an existing user or role.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.