November Happy Hour will be moved to Thursday December 5th.

episerver - page - ACL - groups

Vote:
 

Hi, In my episerver cms 6 site, I'm trying to display which user groups has access to a page. And I tried like this CurrentPage.ACL.ToList();

But in this list, I don't all the groups, some groups are missing. Is there any other way to get access groups ?

Thanks. 

#72250
Jun 11, 2013 17:29
Vote:
 

You could try 

PageAccessControlList list = new EPiServer.Security.PageAccessControlList(CurrentPage.PageLink); // ACL for a specific page

But those two methods will basically do the same thing - only return the groups that have access to the page, not all the groups you have defined on your site.

 

#72357
Jun 13, 2013 22:13
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.