Reputation: 141512
What I am looking for is equivalent to this:
IUser owner = someContentItem.Owner;
Upvotes: 1
Views: 351
Reputation: 13366
IUser owner = someContentItem.As<ICommonPart>().Owner;
.
Your item needs to have CommonPart
attached (which should almost always be the case) in order to use this.
Upvotes: 3