Solved

Active Directory: User Properties - Organization - Manager - Name field : How do I populate that field using a script?

Posted on 2007-04-03
2
1,711 Views
Last Modified: 2012-05-05
We use a script to add users to our domain.
In the User Properties - Organization - Manager - Name field, I want to add the users' manager.
I tried setting the UserManager variable and adding the following line to the script
objuser2.Put "manager",UserManager
The script does not work.

Question: Is it possible to populate the User Properties - Organization - Manager - Name Field?

If it is, what is the AD Variable name for that field?

Thanks in advance
0
Comment
Question by:colmsmith32
  • 2
2 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18845271
What's in "UserManager"?
This will need to be the full path to the manager's CN.

Iow, you can't use:

objUser.Put "manager", "Tom Jones"

You'll need to use something like
objUser.Put "manager", "CN=JonesT, OU=Management,dc=company,dc=com"
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18974689
Happy to help - thanx for the grade! :^)
0

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now