Try our conversational search powered by Generative AI!

how to find a page's access group

Vote:
 

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.

/Martin

#27081
Jan 16, 2009 11:54
Vote:
 

Hi,

 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
Vote:
 

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

 /Martin

#27084
Jan 16, 2009 12:39
Vote:
 

Hi again

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

/Martin

#27094
Jan 16, 2009 14:32
* 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.