Configurations.CreateRoles Method

Creates the roles for the application.
public static Task CreateRoles( 
IServiceProvider serviceProvider
FPTVContext _context
IUserStore<UserBase> _userStore
IUserEmailStore<UserBase> _emailStore
IWebHostEnvironment env 
)
This language is not supported or no code example is available.

Parameters

serviceProvider
IServiceProvider

The service provider.

_context
FPTVContext

The context.

_userStore
IUserStore<UserBase>

The user store.

_emailStore
IUserEmailStore<UserBase>

The email store.

env
IWebHostEnvironment

The environment.

Return Value

Task

A Task representing the asynchronous operation.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition