London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi
If you have a PageData called "page" and a user as an IPrincipal called "user" you can do the following:
bool hasAccess = page.ACL.QueryDistinctAccess(user, AccessLevel.Read);
Regards
Per Gunsarfs
How to check page access even if I am logged in as a user who doesn't have access? Is there a way by which for checking page access alone, I can pass some admin user id?