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.