Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I create Content Saving event where i want do get the members selected by a a MultNodePicker.
When I get the value of the property, a string with comma separates member-uids is returned.
string siteMembers = args.SavedEntities.FirstOrDefault().GetValue<string>("siteMembers");
My question is: how can read a member via the memberserver with a udi? The memberservice.GetByKey method only acceptes system.guid instead of a Udi.
var member = Current.Services.MemberService.GetByKey(((GuidUdi) Udi.Parse(siteMember)).Guid);
Hopefully this will help others with the same question.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted