A very interesting post : Which Groups Does WindowsIdentity.Groups Return? Also very interesting is comparing the code in C# + .NET 3.0 in this article against this PowerShell example : $wi = [System.Security.Principal.WindowsIdentity]::GetCurrent() $wi