CursorUser Class Properties:

PropertyTypeOptionalDescription
userIdstringNoUnique user identifier that you use to identify your user.
namestringYesYour user’s full name. Default: Random avatar name.
emailstringYesYour user’s email address.
photoUrlstringYesYour user’s display picture URL. Default: Random avatar image.
commentstringYesShort comment that user can add to their live cursor.
onlineStatusstringNoUser’s online status (active, inactive, offline). Auto generated.
colorstringYesA random color assigned to the user for the session, used on avatar border/live cursor.
timestampanyNoServer Timestamp.
typestringYesUser type.
locationIdnumber | nullYesUnique location id from provided location.
locationLocation | nullYesLocation to identify user on sub document.
positionCursorPosition | nullYesUser’s cursor position on their screen.
isReadOnlybooleanYesIndicates if user is readonly.
isAnonymousbooleanYesIndicates if user is anonymous and can only view comments.