This project is read-only.

Assigning Role to User during Registration

Topics: Administration, General
Jan 18, 2014 at 10:48 AM
When a new user is registered, i need to assign automatically some role to it. is there any option in Orchard to enable this or do i need to modify cdoe ?
Jan 19, 2014 at 4:49 PM
You have to write code AFAIK. There are some vents exposed by Orchard.Users, take a look at the module.
Jan 19, 2014 at 6:11 PM
How do I write code AFAIK. The vents exposed by Orchard Users, How do I take a look at the module.?
Jan 19, 2014 at 7:36 PM
You can do this with an Orchard Workflow.

Use the Content Published Event filter type User
Connect it to an Assign Role action.


Also me and wgtmpeters have this pull request...

You can get a lot more detailed events to work off of

Jan 19, 2014 at 9:02 PM
Eh, did I forgot about this? :-)