---
title: authorNames
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/authornames
---

# authorNames

An array of names representing the authors who have worked on the message.

## Declaration

```swift
var authorNames: [String]? { get set }
```

## Discussion

Discussion A message may have zero or more authors. Although the array preserves the order of authors, it is not intended to identify the main author or represent the relative importance of authors.

## See Also

### Describing messages

- [Common Mailbox Identifiers](corespotlight/common-mailbox-identifiers.md)
- [htmlContentData](corespotlight/cssearchableitemattributeset/htmlcontentdata.md)
- [accountHandles](corespotlight/cssearchableitemattributeset/accounthandles.md)
- [accountIdentifier](corespotlight/cssearchableitemattributeset/accountidentifier.md)
- [additionalRecipients](corespotlight/cssearchableitemattributeset/additionalrecipients.md)
- [authorAddresses](corespotlight/cssearchableitemattributeset/authoraddresses.md)
- [authorEmailAddresses](corespotlight/cssearchableitemattributeset/authoremailaddresses.md)
- [authors](corespotlight/cssearchableitemattributeset/authors.md)
- [emailAddresses](corespotlight/cssearchableitemattributeset/emailaddresses.md)
- [emailHeaders](corespotlight/cssearchableitemattributeset/emailheaders.md)
- [hiddenAdditionalRecipients](corespotlight/cssearchableitemattributeset/hiddenadditionalrecipients.md)
- [instantMessageAddresses](corespotlight/cssearchableitemattributeset/instantmessageaddresses.md)
- [likelyJunk](corespotlight/cssearchableitemattributeset/likelyjunk.md)
- [mailboxIdentifiers](corespotlight/cssearchableitemattributeset/mailboxidentifiers.md)
- [phoneNumbers](corespotlight/cssearchableitemattributeset/phonenumbers.md)
