Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / UserRepository Class / FindUsersByNameCount Method
The search pattern to check against the user table.
The name field to check against the search pattern.
In This Topic
    FindUsersByNameCount Method (UserRepository)
    In This Topic
    Count users that match a particular search pattern.
    Syntax
    public int FindUsersByNameCount( 
       string searchPattern,
       NameSearchField searchField
    )

    Parameters

    searchPattern
    The search pattern to check against the user table.
    searchField
    The name field to check against the search pattern.

    Return Value

    The number of users that match the search.
    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