I am using SharePoint KeywordQuery class to query SharePoints search. When processing the record set which is returned I need the userId/user profile of the user which created the entry.
I tried to use the "Author" property, but that seems to contain only the PreferredName of the user.
Do I need to manually map a new property to do this, or which metadata property do I need to include in the result set?
EDIT: I need a property from the search Index which contains the unique identifier (user id. record id, account name ...) for the user. The Author property seems to contain the preferred name and is not unique.
I am currently mapping AuthorUserId to the search index and adding this to my query, but there should be an easier way