API reference / Common / Engine types / CommentAuthor
Interface: CommentAuthor
A person, by value.
The files key people three ways — docx by the name, word/people.xml beside it; Word's reactions and Word's and Excel's tasks by the name and account written out; xlsx and pptx otherwise by an id into a list — and a person is written once and never edited. So each comment holds its people itself, and a save writes the lists of people from them.
Properties
| Property | Description |
|---|---|
namestring | w:comment/@w:author; person/@displayName, a note's authors/author; p188:author/@name, p:cmAuthor/@name; a reaction's or a task's @userName. |
initials?string | w:comment/@w:initials; p188:author/@initials, p:cmAuthor/@initials. An xlsx author has none. |
account?CommentAccount | Who the name is at an identity provider: w15:person/w15:presenceInfo/@w15:providerId and @w15:userId; person/@providerId and @userId; p188:author/@providerId and @userId, p:cmAuthor/p:extLst/p15:presenceInfo's; a reaction's or a task's @userProvider and @userId. |