Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceRoleProvider Class / GetRolesForUser Method
The user to return a list of roles for.
In This Topic
    GetRolesForUser Method
    In This Topic
    Gets a list of the roles that a specified user is in for the configured applicationName.
    Syntax
    public override string[] GetRolesForUser( 
       string username
    )

    Parameters

    username
    The user to return a list of roles for.

    Return Value

    A string array containing the names of all the roles that the specified user is in for the configured applicationName.
    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