Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceRoleProvider Class / FindUsersInRole Method
The role to search in.
The user name to search for.
In This Topic
    FindUsersInRole Method
    In This Topic
    Gets an array of user names in a role where the user name contains the specified user name to match.
    Syntax
    public override string[] FindUsersInRole( 
       string roleName,
       string usernameToMatch
    )

    Parameters

    roleName
    The role to search in.
    usernameToMatch
    The user name to search for.

    Return Value

    A string array containing the names of all the users where the user name matches usernameToMatch and the user is a member of the specified role.
    Remarks
    This method is not implemented in AbleCommerce 7.
    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