Share via


IdentityUserRole<TKey>.RoleId Property

 

Gets or sets the Role ID for the role.

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public virtual TKey RoleId { get; set; }
public:
property TKey RoleId {
    virtual TKey get();
    virtual void set(TKey value);
}
abstract RoleId : 'TKey with get, set
override RoleId : 'TKey with get, set
Public Overridable Property RoleId As TKey

Property Value

Type: TKey

The Role ID for the role.

See Also

IdentityUserRole<TKey> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top