I've found some examples of Services.MemberService.GetAllMembers method usage right in the template. Although for me this is always empty collection. I suspect because currently logged in user could have insufficient access to this kind of information. Does anybody have any suggestions how to allow every user (guest also) to obtain an access to the memberlist?
Services.MemberService.GetAllMembers is empty
I've found some examples of Services.MemberService.GetAllMembers method usage right in the template. Although for me this is always empty collection. I suspect because currently logged in user could have insufficient access to this kind of information. Does anybody have any suggestions how to allow every user (guest also) to obtain an access to the memberlist?
P.S: I'm using custom membership provider.
Using of
Membership.GetAllUsers()
instead ofServices.MemberService.GetAllMembers()
helped to me.is working on a reply...