Is there any way you can get CreatedBy
field for SPListItem Folder
. I got CreatedDate
using SPListitem.Folder.Properties
but not able to get CreatedBy
field.
Thanks开发者_StackOverflow,
Ashish Chotalia
You can use SPListItem.Folder.Item["CreatedBy"].
One of answers that worked for me too:
SPFieldUserValue userValue = new SPFieldUserValue(web, item[SPBuiltInFieldId.Author].ToString());
SPUser author = userValue.User;
精彩评论