How to get List item ID using Search API .
I am getting below properties along with that I need to get item id.
$keywordQuery.SelectProperties.Add("Created")
$keywordQuery.SelectProperties.Add("LastModifiedTime")
$keywordQuery.SelectProperties.Add("CreatedBy")
$keywordQuery.SelectProperties.Add("ModifiedBy")
I am retrieving all list items(list items and documents) created by a user in sites and its subsites. This is my query:
$queryText="createdby:xxxxxx"
How can i get listitem Id ?
$keywordQuery.SelectProperties.Add("ListItemID")
and check