---
title: "Set annotation author in PDF using JavaScript | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/web/annotations/annotation-author-name/"
md_url: "https://www.nutrient.io/guides/web/annotations/annotation-author-name.md"
last_updated: "2026-06-09T10:19:57.961Z"
description: "Learn how to set the creator name for annotations in Nutrient Web SDK 2018.2 using the setAnnotationCreatorName function. Enhance your document collaboration!"
---

# Defining the author of an annotation

Starting with Nutrient Web SDK 2018.2, the author of an annotation will be saved under the `creatorName` property of an annotation. By default, the `creatorName` for all newly created annotations is set to `null`.

The `creatorName` can be set by the [`Instance#setAnnotationCreatorName`] function:

```js

instance.setAnnotationCreatorName("Alice");

```
---

## Related pages

- [Add image annotations to PDFs using JavaScript](/guides/web/annotations/create-edit-and-remove/add-image.md)
- [Annotation flags](/guides/web/annotations/annotation-flags.md)
- [Create PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/create.md)
- [Detect changes in annotations](/guides/web/annotations/detecting-if-annotations-have-changed.md)
- [Cut, copy, paste, and duplicate annotations in PDF using JavaScript](/guides/web/annotations/create-edit-and-remove/cut-copy-duplicate.md)
- [Select PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/multiple-selection.md)
- [Edit PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/edit.md)
- [Customizing annotation permissions](/guides/web/annotations/create-edit-and-remove/permissions.md)
- [Remove PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/remove.md)
- [Undo and redo annotations](/guides/web/annotations/create-edit-and-remove/undo-redo.md)
- [Rich text in PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/rich-text.md)

