Hi,
I would like to create a user and add that user to a role, using your custom membership and roles API. Can you send me a code sample, please?
Create a User, Add to Role programmatically
Re: Create a User, Add to Role programmatically
Open Website/ConLib/RegisterationDialog.ascx.cs file and have a look the code against register button. That will provide you enough information about how to register a user.
Re: Create a User, Add to Role programmatically
Hi,
Thanks for the info.
Let's say I want to add a user to the Super User role programmatically. What code do I use? I don't see any role or group code anywhere in that file. What is the difference between a group and a role with AbleCommerce?
Thanks for the info.
Let's say I want to add a user to the Super User role programmatically. What code do I use? I don't see any role or group code anywhere in that file. What is the difference between a group and a role with AbleCommerce?
Re: Create a User, Add to Role programmatically
Please read following thread
viewtopic.php?f=42&t=8712
viewtopic.php?f=42&t=8712