PrincipalPermission only works with some AD groups

The following works fine ( DOMAIN\DEVELOPERS):

[PrincipalPermission(SecurityAction.Demand,Role="DEVELOPERS")]
public string Test()
{
   return "Works..";
}

The user who runs is a member of this group, so of course he works. I have another group for this WCF service called called AdvisoryWcfUsersthat contains a couple of users as well as groups (in AD, therefore DOMAIN\AdvisoryWcfUsers). I am 100% sure that I am a member of this group, but nonetheless I get:

System.ServiceModel.Security.SecurityAccessDeniedException: access denied

This is not a typo, IIS does not seem to have permission to search for this new group. A group DEVELOPERSis an "old" group, and AdvisoryWcfUserswas created today for this purpose. Any suggestions?

+3
source
1

, ? Windows , . ( , !).

0

All Articles