Posted
on Feb 8, 2010
(permalink)
Hallo,
i want to check the permissions for the current page from to allow or deny specific actions for the current user.
Is it possible to check if the user
- HasViewPermission(CurrentPage)
- HasCreatePermission(CurrentPage)
- HasPublishPermission(CurrentPage)
- ....
Thank u
Guy
Reply
Answer
Ivan Dimitrov
Ivan Dimitrov
Posted
on Feb 8, 2010
(permalink)
Hi Guyso,
Below is a sample code that illustrates how to check the permissions programmatically
You can also use CrudRights.View and CrudRights.Create etc. PageRights class inherits from CrudRights class.
Greetings,
Ivan Dimitrov
the Telerik team
Watch a
video
on how to optimize your support resource searches and
check out more tips
on the blogs.
Follow the status of features or bugs in
PITS
and vote for them to affect their priority.
Reply