Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

User Role

$
0
0

hi,

i am using Microsoft.AspNet.Identity.EntityFramework.2.1.0 for roles

but i have a problem with identity role at statment: this.Roles.Find(r => r.RoleName == userRole.Role.Name);

error: 'Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole' does not contain a definition for 'Role' and no extension method 'Role' accepting a first argument of type 'Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole' could be found (are you missing a using directive or an assembly reference?) d\project

plz any help


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>