Hello,
I noticed an interesting problem. When calling WindowsPrincipal.IsInRole
over dial-up (VPN), this function takes 1-2 minute(s) to return. On the
intranet or when disconnected from the network, it is instantaneous. Even
more interesting is that IsInRole checks for a local group (e.g.
Administrators), not a domain group, so I am not sure why it would make such
a difference. Either version of IsInRole (with a string parameter and an
enum) is equally slow. Any ideas?
Alek