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,732 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
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 …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

635 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