Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceRoleProvider Class / AddUsersToRoles Method
A string array of user names to be added to the specified roles.
A string array of the role names to add the specified user names to.
Version
AddUsersToRoles Method
Adds the specified user names to the specified roles for the configured applicationName.
Syntax
public override void AddUsersToRoles( 
   string[] usernames,
   string[] roleNames
)

Parameters

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