Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / IUserRepository Interface / FindUsersByName Method / FindUsersByName(String,NameSearchField,Boolean) Method
The search pattern to check against the user table.
The name field to check against the search pattern.
If true then the search results will include anonymous users as well
In This Topic
    FindUsersByName(String,NameSearchField,Boolean) Method
    In This Topic
    Loads users that match a particular search pattern
    Syntax

    Parameters

    searchPattern
    The search pattern to check against the user table.
    searchField
    The name field to check against the search pattern.
    includeAnonymous
    If true then the search results will include anonymous users as well

    Return Value

    A collection of User objects matching the search criteria
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also