how to find a page's access group


Hi fellow episervians

 Can anyone give me a hint to, how i find all the groups that have access to a specific page?

 Thanks in advance.


#27081 Jan 16, 2009 11:54


     Try this:

    foreach (KeyValuePair<string, AccessControlEntry> ent in CurrentPage.ACL)


    if (!ent.Value.EntityType.Equals(SecurityEntityType.Role)) continue;

    string groupName = ent.Value.Name;


    #27083 Jan 16, 2009 12:24
  • mjg

    thanks for the reply m8, but could you supply the code in .net 1.1 c# please? Sorry for not mentioning that earlyer.


    #27084 Jan 16, 2009 12:39
  • mjg

    Hi again

    I've found a work-arround, but thanks for your help m8. Much appriciated.


    #27094 Jan 16, 2009 14:32