UserManager<TUser, TKey>.SupportsUserRole Property

Gets a value that indicates whether the store is an IUserRoleStore.

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

Syntax

'Declaration
Public Overridable ReadOnly Property SupportsUserRole As Boolean 
    Get
'Usage
Dim instance As UserManager 
Dim value As Boolean 

value = instance.SupportsUserRole
public virtual bool SupportsUserRole { get; }
public:
virtual property bool SupportsUserRole {
    bool get ();
}
abstract SupportsUserRole : bool 
override SupportsUserRole : bool
function get SupportsUserRole () : boolean

Property Value

Type: System.Boolean
true if the store is an IUserRoleStore; otherwise, false.

See Also

Reference

UserManager<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity