IdentityRole public class IdentityRole : IdentityRole<string> The default implementation of IdentityRole<T> which uses a string as the primary key. Documentation Code public IdentityRole() Initializes a new instance of IdentityRole. public IdentityRole(string roleName) Initializes a new instance of IdentityRole.