I would like to identify the creator of a list with PowerShell PnP. AFAIK, I need to read the Author
property, but the best I've found is the GUID of the author.
> $l = Get-PnPList -Identity <the list> -Includes Fields
> $l.Fields | Where-Object InternalName -eq Author
Title InternalName Id
----- ------------ --
Créé par Author 1xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
I cannot get the user from these information. If there's a better way anyway, please, mention it!
Author
field stores the creator of each item in the List, not of the list itself.Author
field stores the creator of the items. I'm on the wrong track! I'm trying to get the creator of the list indeed (I'm the creator of the site collection).Author
is mentioned as list creator:SPList.Author Property gives you an SPUser object that represents information about the user who created the list.
. I'm looking for SP-2013+ preferably with PnP.