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.
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.