Simple question really, I create users programatically and it goes fine. I can add users, EPiServerProfile properties and all roles except "Administrators". When adding it I get this error ->
Provider Exception Caught
The role 'Administrators' was not found.
I get it after having checked if the role exists and after that adding it with ->
Roles.AddUserToRole(userName, role);
I don't need to add the users to this group, I'm just curios.
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
Simple question really, I create users programatically and it goes fine. I can add users, EPiServerProfile properties and all roles except "Administrators". When adding it I get this error ->
I get it after having checked if the role exists and after that adding it with ->
I don't need to add the users to this group, I'm just curios.