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
how to select all member with strong type like (umbraco.web.PublishedModels.Member).
i try to get by this code but how to select properties value
var allmember = services.MemberService.GetMembersByMemberType("member");
when i try to use
Select(x => x as Umbraco.Web.PublishedModels.Member);
all data is null
The MemberService functions return IMember objects, so in your example allmember will be an IEnumerable
you can get property values from an iMember object by doing
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted