Default 'guest' name change

Hi ,
I want to change default user name ‘Guest’ to other name at runtime. i.e if user draws any annotation then after each drawn annotation i want to change or add user name to it.
So is it possible to change user name at runtime for each annotation drawn ?

Could you please share relevant documentation for the same (if available).

Hey there!

You can use the AnnotationManager.setCurrentUser API to change the name of the current user. This will apply to any new annotations.

For more fine grained control, you can use the AnnotationManager.setAnnotationDisplayAuthorMap function.

Hope this helps!
Logan