Value cannot be null - GetUsersInRole
Hi,
The following code throws a Value cannot be null. Parameter name: role exception for the following line of code:
List<Telerik.Sitefinity.Security.Model.User> editors = roleManager.GetUsersInRole(
"Editors"
).ToList();
Hi Raihan,
Most probably the instance of the provider which you used to create the rolemanager is not correct. Please check this post.
Greetings,
Ivan Dimitrov
the Telerik team