Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 07, 2012 04:22 PM by bbcompent1
May 07, 2012 04:09 PM|LINK
I'm trying to use the PrincipalContext class in .net 4.0 but in my using statement,
is not resolving and therefore PrincipalContext is not either. Do you have any idea why these wouldn't work?
Error 1 The type or namespace name 'AccountManagement' does not exist in the namespace 'System.DirectoryServices' (are you missing an assembly reference?)
NEVERMIND....You have to add a reference to System.DirectoryServices.AccountManagement.
May 07, 2012 04:22 PM|LINK
Glad you figured it out.