scripting the setting of the manager attribute

B

Brandon McCombs

hello,

I've noticed within the ADS 2003 schema that there are 2 attributes
related to a person's manager. They are managedBy and manager. Can
anyone tell me which one (or if both) is the correct attribute to set to
define a user's manager? We already have over 500 users in ADS and will
eventually need to set a manager for the majority of them upon the
installation of an application in a few weeks and obviously don't want
to have to use ADUC to do it by hand but I couldn't tell which attribute
to use and found no docs on it either.

thanks
 
J

Jerold Schulman

hello,

I've noticed within the ADS 2003 schema that there are 2 attributes
related to a person's manager. They are managedBy and manager. Can
anyone tell me which one (or if both) is the correct attribute to set to
define a user's manager? We already have over 500 users in ADS and will
eventually need to set a manager for the majority of them upon the
installation of an application in a few weeks and obviously don't want
to have to use ADUC to do it by hand but I couldn't tell which attribute
to use and found no docs on it either.

thanks

ManagedBy
Contains the list of objects that are managed by the user. The objects listed are those that have the property managedBy property set to this user. Each item in the list is a linked reference to the managed object.
This value is set by the system.

Manager
Contains the user who is the user's manager. The manager's user object contains a directReports property that contains references to all user objects that have their manager properties set to the manager's user object.
This is the one you maintain.





Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
B

Brandon McCombs

Jerold said:
ManagedBy
Contains the list of objects that are managed by the user. The objects listed are those that have the property managedBy property set to this user. Each item in the list is a linked reference to the managed object.
This value is set by the system.

Manager
Contains the user who is the user's manager. The manager's user object contains a directReports property that contains references to all user objects that have their manager properties set to the manager's user object.
This is the one you maintain.
thanks Jerold. That helps a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top