IdentityRole Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IdentityRole() |
Initializes a new instance of IdentityRole. |
IdentityRole(String) |
Initializes a new instance of IdentityRole. |
IdentityRole()
Initializes a new instance of IdentityRole.
public:
IdentityRole();
public IdentityRole ();
Public Sub New ()
Remarks
The Id property is initialized to from a new GUID string value.
Applies to
IdentityRole(String)
Initializes a new instance of IdentityRole.
public:
IdentityRole(System::String ^ roleName);
public IdentityRole (string roleName);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole : string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole
Public Sub New (roleName As String)
Parameters
- roleName
- String
The role name.
Remarks
The Id property is initialized to from a new GUID string value.