Hi, I am busy writing a custom registration module and am have a bit of trouble on a seemingly silly issue.
Once the validating user has confirmed his email registration request, I then take his details captured so far and create a CuyahogaUser. That works fine, the problem I am having is assigning him a specific role.
So i have:
Code:
User user = new User();
//setting up the new user goes here
session.Save(user);
session.Flush();
Role role = GetRole((int)UserStatus.IncompleteProfile)); // What do I do with this?
I realise I need to create an entry cuyahoge_userrole table, however there is no Cuyahoga.Core.Domain.CuyahogaUserrole entity.