Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceRoleProvider Class / RemoveUsersFromRoles Method
A string array of user names to be removed from the specified roles.
A string array of role names to remove the specified user names from.
In This Topic
    RemoveUsersFromRoles Method
    In This Topic
    Removes the specified user names from the specified roles for the configured applicationName.
    Syntax
    public override void RemoveUsersFromRoles( 
       string[] usernames,
       string[] roleNames
    )

    Parameters

    usernames
    A string array of user names to be removed from the specified roles.
    roleNames
    A string array of role names to remove the specified user names from.
    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