0
rvanwoezik created
Hi, i have add some new Roles, when i check the role in db, i see strange names like "c1b00f6028d6493794aa161f7e4de2fe" and normalized name like ''C1B00F6028D6493794AA161F7E4DE2FE" for displayname "Content Editor".
When i use var users = await UserManager.GetUsersInRoleAsync("Content Editor"); I don't get any result.
1 Answer(s)
-
1
You can set
Name
when creatingRole
.You should get users in
Role
byName
, notDisplayName
.