How to update Active Directory Manager Filed

Updating Active Directory ‘Manager’ field using code snippet Here is the code snippet to set the user manager field in AD. let say we want to create a new user with loginname test1 and set the manager field of user “test2” to “test1” //Creating the user test1 DirectoryEntry myLdapConnection= new DirectoryEntry(LDAPPath, LDAPUser, LDAPPassword, AuthenticationTypes.Secure);DirectoryEntry test1 … Read more