prosmart.AdminCheckerAttribute
1.1.0
dotnet add package prosmart.AdminCheckerAttribute --version 1.1.0
NuGet\Install-Package prosmart.AdminCheckerAttribute -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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.
#r "nuget: prosmart.AdminCheckerAttribute, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install prosmart.AdminCheckerAttribute as a Cake Addin #addin nuget:?package=prosmart.AdminCheckerAttribute&version=1.1.0 // Install prosmart.AdminCheckerAttribute as a Cake Tool #tool nuget:?package=prosmart.AdminCheckerAttribute&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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!
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.