windows server 2016 identity group
问题 I opened active directory users and computers, selected builtin and I created a group called Employee, and added my own current user to it. However when checking my groups in code like this I cannot see the Employee group WindowsIdentity identity = WindowsIdentity.GetCurrent(); var myPrincipal = new WindowsPrincipal(identity); identity.Groups.Select(x => "NTAccounts - " + x.Translate(typeof(NTAccount)).ToString() ` and this is all I get, am I doing something wrong ? all I need is to have a