Custom fields on user

Topics: Administration, Troubleshooting, Writing themes
Feb 5, 2014 at 9:21 AM

I did a projection of blog posts. And on the projection page I would like to display custom fields that were added on the "User" entity (owner of the blogpost)

There is a:
But it does not contain those additional fields...

How do I go about that?

Feb 5, 2014 at 11:05 AM
Owner is IUser. I guess you can access the fields via

var contentItem = (dynamic) item.Meta.Items[0].ContentPart.Owner.ContentItem;
var field = (WhateverFieldTypeIs) contentItem.User.WhateverFieldNameIs;