When a user registers on my DNN site I want them to automatically be assigned to a default role. How can I accomplish this?
Thanks in advance.
When a user registers on my DNN site I want them to automatically be assigned to a default role. How can I accomplish this?
Thanks in advance.
first You need to define the roles and assign them by using the AddUserToRole Method of the role controller.
When you create a role there is a checkbox called 'Auto Assignment' - by checking this users who register are automatically added to this role.