http : / / www . codeproject . com / KB / system / everythingInAD . aspxc # 으로 Active Directory 에 대해 추가 , 수정 , 삭제 및 쿼리 를 해 오 는 방법 에 대해서 기술 한 내용 입니다 . 해당 내용 은 codeProject 사이트 에서 발췌 함 을 밝힘 니다 . I n t roductionBackgroundPoints of concern : security & impersonationRunning code in batch processesMethod parmetersNotes for using System . DirectoryServices . DirectoryEntryTarget specific domain controllers or credentialsManaging local accounts with DirectoryEntryManaging local groups with DirectoryEntryManaging IIS with DirectoryEntryActive directory codeActive directory managementTranslate the friendly domain name to fully qualified domain nameEnumerate domains in the current forestEnumerate global catalogs in the current forestEnumerate domain controllers in a domainCreate a trust relationshipDelete a trust relationshipEnumerate objects in an OUEnumerate DirectoryEntry settingsActive directory objectsCheck for the existence of an objectMove an object from one location to anotherEnumerate multi - string attributes of an objectEnumerate single - string attributes of an objectEnumerate an object ' s propertiesGet a DistinguishedName : search the directoryConvert DistinguishedName to ObjectGUIDConvert an ObjectGUID to OctectStringSearch by ObjectGUID or convert ObjectGUID to DistinguishedNamePublish network shares in active directoryCreate a new security groupDelete a security groupActive directory usersAuthenticate a user against the directoryAdd user to groupRemove user from groupGet user group memberships of the logged in user from ASP . NETGet user group membershipsCreate user accountDealing With User PasswordsSetting UserAccountControl flagsAll UserAccountControl flagsEnable a user accountDisable a user accountUnlock a user accountReset a user passwordRename an o b j e c t C o n c l usionHistoryResourcesMSDN code samplesZeta impersonatorAbout the Authorthund 3 rstruck I ' m a typical 29 year old generation X guy that likes video games , NFL football , and comic style art . I have an insatiable passion forprogramming and doing what ever it takes to become a better programmer . Occupation : Software DeveloperLocation : United States