annotations.author
Written into each comment as its author: notes, highlights, text boxes, drawings, shapes, stamps, replies and statuses. The note composer shows the author's name and initials at the top, and the name is stored on every note, highlight, text box, drawing, shape and stamp the user adds, and on every reply and status, where every other reader shows it as the author. Empty, the composer reads "You" and the note carries only its text and color, so a host that does not know who is signed in gives nothing away by accident.
stringdefault '' (none)
Example
authorTypeScript
const viewer = new PDFViewer(container, doc, { annotations: { author: session.user.displayName }, });