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
'Declaration
Public Overridable ReadOnly Property Roles As IQueryable(Of TRole)
Get
'Usage
Dim instance As RoleManager
Dim value As IQueryable(Of TRole)
value = instance.Roles
public virtual IQueryable<TRole> Roles { get; }
public:
virtual property IQueryable<TRole>^ Roles {
IQueryable<TRole>^ get ();
}
abstract Roles : IQueryable<'TRole>
override Roles : IQueryable<'TRole>
function get Roles () : IQueryable<TRole>
Property Value
Type: System.Linq.IQueryable<TRole>
The IQueryable of roles if the store is an IQueryableRoleStore.
See Also
Reference
RoleManager<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace