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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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