MVC5 Admin Checker Attribute NuGet Package

Wanna check if the current user is an ADMINISTRATOR just by putting [AdminChecker] above anything (controller, method, action, etc.)?.

If he's (or she) not an Administrator it sends him back to login page (or wherever you decide). Well, this little thing does that.

ONLY FOR MVC5 Identity!.




Got any MVC5 Admin Checker Attribute Question?





Info

Version: 1.1.0
Author(s): prosmart.xyz, Daniel Díaz
Last Update: Thursday, May 5, 2016
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/prosmart.AdminCheckerAttribute


Install
Install-Package prosmart.AdminCheckerAttribute
dotnet add package prosmart.AdminCheckerAttribute
paket add prosmart.AdminCheckerAttribute
prosmart.AdminCheckerAttribute Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2903