• Skip to primary navigation
  • Skip to content
  • Skip to footer
Dovestones Software Logo

Dovestones Software

Active Directory Software and Services

  • Products
    • AD Toolset Bundle
    • AD Bulk Users
    • AD Bulk Contacts
    • AD Reporting
    • AD Bulk Export
    • AD Photos
    • AD Find and Replace
    • True Last Logon
    • Active Directory Self Service
    • AD Self Password Reset
    • AD Phonebook
    • AD Self Update
  • Solutions
    • Active Directory Self Service
    • Import users into Active Directory
    • Import Active Directory photos into SharePoint
    • Update users that already exist in Active Directory
    • Report on Active Directory Users
    • Allow users to reset their own passwords.
    • Allow employees to update their own details Active Directory
  • Testimonials
  • Downloads
  • Purchase
    • Pricing & Purchase Online
    • Resellers
    • Quote Request
    • Purchase Orders
  • Support
    • Frequently Asked Questions (FAQs)
    • Documentation
    • Support Request Form
    • Uninstall Products
    • Find my license key
    • Blog
    • Videos
  • About Us
    • Enquiry Form
    • End User License Agreement
    • Privacy Policy

Setting the manager attribute for users in Active Directory

Sep 22, 2017 Active Directory, AD Bulk Users

Starting with version 5.0.7.9 and above of AD Bulk Users you can set a users manager value using the managers username, distinguishedName or the managers employeeID.

Internally in Active Directory a users Manager (seen on the Organization tab) is stored using the managers distinguishedName, although you are shown the managers cn value.

When setting manager attribute we  need to provide the distinguishedName or the manager, for example:

CN=James Blunt,OU=Managers,DC=Domain,DC=Com

With AD Bulk Users version 5.0.7.9 and later the program can *search Active Directory for the manager’s distinguishedName if your provide the managers sAMAccountName (username of the manger) or the manager’s employeeID value.

Below are three example CSV files that would set a users manager value.

Using the managers sAMAccountName (username)

sAMAccountName,Modify,manager
pjones,True,jblunt

Using the managers employeeID

sAMAccountName,Modify,manager
pjones,True,123987

Using the manager’s distinguishedName

sAMAccountName,Modify,manager
pjones,True,"CN=James Blunt,OU=Managers,DC=Domain,DC=Com"

*Using the sAMAccountName or employeeID will be slower than using the distinguishedName as the program will need to query Active Directory for the managers distinguishedName value.

 

 

Footer

Dovestones Software

Copyright 2005 – 2023 © Infoopia Inc.
All rights reserved.

Registered office:

Infoopia Inc.
PO Box 93383
Newmarket Ontario
L3X 1A3
Canada

Phone (voice mail):
Toll-Free 1.877.335.8909
Outside of US/Canada +1.647.478.8078

Our Newsletter

Subscribe to our newsletter to receive the latest updates. You can review our privacy policy here.