IdentityRole Constructor
Initializes a new instance of the IdentityRole class.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Overload List
Name | Description | |
---|---|---|
IdentityRole() | Initializes a new instance of the IdentityRole class. |
|
IdentityRole(String) | Initializes a new instance of the IdentityRole class. |
See Also
IdentityRole Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top
IdentityRole Constructor ()
Initializes a new instance of the IdentityRole class.
Syntax
public IdentityRole()
public:
IdentityRole()
new : unit -> IdentityRole
Public Sub New
See Also
Return to top
IdentityRole Constructor (String)
Initializes a new instance of the IdentityRole class.
Syntax
public IdentityRole(
string roleName
)
public:
IdentityRole(
String^ roleName
)
new :
roleName:string -> IdentityRole
Public Sub New (
roleName As String
)
Parameters
roleName
Type: System.StringThe name of the role.
See Also
Return to top