Given a user in EPiServer CMS, would it be possible to use the API and find all content created by him/her? If so, does anyone have some pseudo-code to point in the right direction?
Your best bet would be using Find. Unfortunately IContentLoader and IContentRepository has no such method to filter by createdby
Depending on your use case, this may not be the best option, but the database is always your friend!
SELECT * FROM tblContent WHERE CreatorName = 'markus'
If you want ALL content, Episerver Find is limited to content actually being indexed.
@ Quan Mai
We're using Find but unfortunately not all content is indexed in Find.
@ Tomas Hensrud Gulla
Thanks for the suggestion! Can't see that tblContent will be changed in the near future :-)
CreatorName is not indexed, so be careful about performance if you are running that query a lot.