Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

asp.net core identity get all roles

var roleStore = new RoleStore<IdentityRole>(_context);
List<IdentityRole> roles = roleStore.Roles.ToList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #core #identity #roles
ADD COMMENT
Topic
Name
5+8 =