I am using a WCF service and a net.tcp endpoint with serviceAuthentication\'s principal PermissionMode set to UseWindowsGroups.
Currently in the implementation of th
If I understood well you want to select the role at runtime. This can be done with a permission demand within the WCF operation. E.g.
public string method1() { PrincipalPermission p = new PrincipalPermission(null, "Administrators"); p.Demand(); ...