RoleManager<TRole, TKey>.Roles Property

 

Gets the IQueryable of roles if the store is an IQueryableRoleStore.

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

Syntax

public virtual IQueryable<TRole> Roles { get; }
public:
property IQueryable<TRole>^ Roles {
    virtual IQueryable<TRole>^ get();
}
abstract Roles : IQueryable<'TRole> with get
override Roles : IQueryable<'TRole> with get
Public Overridable ReadOnly Property Roles As IQueryable(Of TRole)

Property Value

Type: System.Linq.IQueryable<TRole>

The IQueryable of roles if the store is an IQueryableRoleStore.

See Also

RoleManager<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top