I have a need to check new member names against existing member names, which I'll be storing as firstName, lastName properties. I can do this by creating a custom MemberType and adding those properties to it. But I'm not sure how I can search through the data already on file using the Umbraco Membership API, particularly since I need to do fuzzy searches on the names.
Alternatively, I can simply create my own sql table and store the extended member properties there. I can then use LINQ-based routines I've written for another project to do fuzzy searches on the names.
I'm leaning towards the second approach, but would appreciate feedback from more experienced folks.
Searching on Member Properties
I have a need to check new member names against existing member names, which I'll be storing as firstName, lastName properties. I can do this by creating a custom MemberType and adding those properties to it. But I'm not sure how I can search through the data already on file using the Umbraco Membership API, particularly since I need to do fuzzy searches on the names.
Alternatively, I can simply create my own sql table and store the extended member properties there. I can then use LINQ-based routines I've written for another project to do fuzzy searches on the names.
I'm leaning towards the second approach, but would appreciate feedback from more experienced folks.
- Mark
Take a look into the umbraco api: the class umbraco.cms.businesslogic.member.Member has some functions to get members like GetMemberByName etc.
hth, Thomas
is working on a reply...