Which Groups Does WindowsIdentity.Groups Return?

WindowsIdentity exposes a Groups property which returns a collection of IdentityReferences for the groups that a particular user is a member of.  However, if you look closely, you’ll find that these returned groups won’t necessarily include all of the groups that the user is a member of. Under the covers, WindowsIdentity populates the groups collection…

1