prosmart.AdminCheckerAttribute 1.1.0

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!

Install-Package prosmart.AdminCheckerAttribute -Version 1.1.0
dotnet add package prosmart.AdminCheckerAttribute --version 1.1.0
<PackageReference Include="prosmart.AdminCheckerAttribute" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add prosmart.AdminCheckerAttribute --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 464 5/5/2016
1.0.0 401 5/5/2016