I want to load content depending on what "Permissions" the user has that is currently logged in.
Lets say i have a bunch of links, do i load the links based on the username or based on their role?
ie.) i want links 1 2 3 to appear if role/username is "Admin" and i want link 1 to appear if role/username is "User"
Do i load based on if(User.Identity.Name == "Name") or do i do something similar with roles?
View Complete Post