Active Directory - Make employeeID field viewable in ADUC

Posted on 2004-11-04
Last Modified: 2012-06-21

Has anyone gone through the process of making the pre-defined (employeeID) field viewable in ADUC? I've been looking around for decent documentation on this but haven't had any luck. I'd definitely appreciate some input from any directory services experts.

I know how I can extend the schema to right click a user object and see specific fields, but I'd like the field to be visible from the actual user properties.

Any ideas?
Question by:BNettles73
    LVL 21

    Accepted Solution

    Unless there is a 3rd party solution (I don't know of any) you're going to have to do this with customer code.  You will need COM/C++ knowledge.  If you're interested, here is the MSDN info on this to get you started:
    LVL 12

    Author Comment


    Yeah, I've seen the MSDN information ... I was hoping someone had already built a C++ page extensions and wouldn't mind sharing their code.

    I do appreciate you sending me the link though!

    LVL 12

    Author Comment


    I'm going to go ahead and give you the points, because technically you did answer the question. I was hoping someone knew of an easier way or had actually written the page extension.


    Expert Comment

    I don't have any such tool, but it would be REALLY easy to write a little script to populate the Employee ID feild.  Here is a pretty simple sample:

    Dim ADS_Path, new_employeeID
    'set values here
    ADS_Path = "LDAP://....."    'insert ADS Path to user object here
    new_employeeID = 1234   'insert employee ID here (can be number or string)

    Set oUser = GetObject(ADS_Path)
    oUser.employeeID = new_employeeID

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    746 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

    14 Experts available now in Live!

    Get 1:1 Help Now