OK. The control I was talking about would require Visual Basic or C++ 
programming, and the result would be a binary DLL file.

Fortunately, there is also a lighter script-based version. It doesn't create a 
new tab in user properties, but it appears in the context menu of the user.

I copied the following lines from our book "Inside Active Directory", and hope 
that our publisher wont sue me because of a copyright violation...

1. Using ADSI Edit, locate the user-Display object (in CN=409, 
CN=DisplaySpecifiers, CN=Configuration).

2. Select the adminContextMenu attribute. Add to the attribute the value "2, 
Employee &ID, c:\test\employeeid.vbs" (without quotes). Do not remove the 
existing values, and if number 2 is already in use, select a free number.

3. On the computer, where you will test or use ADUC, create the file 
c:\test\employeeid.vbs and add the lines from http://www.kouti.com/scripts.htm. 
I wrote the script today, but cannot post it until a couple of hours later. 
I'll put it under Bonus Material at the bottom of the page.

4. Start ADUC and right-click any user object, and you should see "Employee ID" 
in the context menu.

Yours, Sakari

  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of rubix cube
> Sent: Tuesday, January 04, 2005 1:04 PM
> To: [email protected]
> Subject: Re: [ActiveDir] Add users?
> 
> Thank you Sakari, interesting.
> So what are we going to do about it? how about if you post the
> instructions to modify the schema to show Employee ID in ADUC :) ?
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to