0

I'm able to get group memberships using following code:

PrincipalContext(ContextType.Domain, "mydomain", "administrator", "Password"))

I would like to move this administrator username password in web.config so that I dont have to make changes to the code when the password changes.

kmatyaszek
  • 19,016
  • 9
  • 60
  • 65

0 Answers0