Home
Features
ASP.NET
Simple editing
Friendly API
Open Source
Screenshots
Download
Documentation
Getting started
Existing site
Definition
Templates
Manipulating content
API docs
FAQ
The database
Advanced
Project
License
TODO
References
History
Background
For non-developers
Issue tracker
Discussions/Support
Solution Overview
Wiki
Add-ons
N2 Open Source ASP.NET CMS
/
Wiki
/
Permissions
View |
Modify
|
History
Permissions
MVC
To prevent non-logged in users accessing a page, add the
Authorize
attribute to the controller's action.
To check whether the logged in user is an N2 administrator, call Engine.SecurityManager.IsAdminUser