I am using Umbraco 7 (C#).
Is there an easy way/method to search for all members with a custom property?
I know that there is an easy way to search for all members by the username by using the method
GetByUsername(string username) : returns IMember
And also for searcing by Email:
GetByEmail(string email) : returns IMember
Do you know of such a way to search by a property?
I have tried using the method ".Where" like so:
GetService().GetAllMembers().Cast<IMember>().Where("permalink=SOMESTRING").ToArray();
Unfortunatly there is an error, since i can't use the .Where() method here.
Any suggestions?
Thanks