IdentityUserRole.Role Property

Role that the user belongs to

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

Syntax

'Declaration
Public Overridable Property Role As IdentityRole 
    Get 
    Set
'Usage
Dim instance As IdentityUserRole 
Dim value As IdentityRole 

value = instance.Role

instance.Role = value
public virtual IdentityRole Role { get; set; }
public:
virtual property IdentityRole^ Role {
    IdentityRole^ get ();
    void set (IdentityRole^ value);
}
abstract Role : IdentityRole with get, set 
override Role : IdentityRole with get, set
function get Role () : IdentityRole 
function set Role (value : IdentityRole)

Property Value

Type: Microsoft.AspNet.Identity.EntityFramework.IdentityRole

See Also

Reference

IdentityUserRole Class

Microsoft.AspNet.Identity.EntityFramework Namespace