Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Restrictions? Like this?
EPiServer.ServiceLocation.ServiceLocator.Current.GetInstance<IContentSecurityRepository>().Get(ContentReference.StartPage).Entries;
I have defined several restrictions for pages in CMS.
I am having a list of ContentReferences of the pages.
How can I get their restrictions programmatically?
Note: I do not need to pass a user and check whether that user has access to that page or not, instead I need to know what are the restrictions defined for a particular page using ContentReference.