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,715 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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Synchronize a new Active Directory domain with an existing Office 365 tenant
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

911 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

16 Experts available now in Live!

Get 1:1 Help Now