Ласкаво просимо до dev.net.ua Увійти | Приєднатися | Допомога

Ivan Bilokon

This blog is about my findings

Переглядати за тегами

Всі теги » Group   (RSS)
userPrincipal.GetAuthorizationGroups(). An error occurred while enumerating the groups. The group could not be found.
Hello! Today I struggled a bit with weird issue trying to enumerate Active Directory groups for some user. The code I used is below using (var principalContext = new PrincipalContext(ContextType.Domain)) { using (var userPrincipal = UserPrincipal.FindByIdentity(principalContext, Читати далі...