BNettles73
asked on
Active Directory - Make employeeID field viewable in ADUC
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
Thanks,
Brian
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
oUser.setinfo
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
oUser.setinfo
ASKER
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!
Thanks,
Brian