Skip to main content
  • grantRole

    public GrantRoleResponse grantRole(GrantRoleRequest request) throws GPUdbException
    Grants membership in a role to a user or role.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object 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 in role. Must be an existing user or role.
    options - Optional parameters. The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.