Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark Olbert 87 posts 117 karma points
    Oct 18, 2009 @ 17:52
    Mark Olbert
    0

    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

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Oct 19, 2009 @ 10:04
    Thomas Höhler
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft