Adding a picture of user in ADUC

  • Thread starter Thread starter gurvinder.nijjar
  • Start date Start date
G

gurvinder.nijjar

In ADUC, we would like to add a picture of the user as part of the user
properties. Is there anyway this could be done. I have read somewhere we
have to make changes to the schema to add an additional attribute, but dont
know how this is done. Also another way I have read is to add some kind of
web link to the user properties, but not too sure on this either. Does any
one have any ideas or any links on how this could be done.
 
Hello,

There is an attribute thumbNailPhoto which should be large enough to store
most small image files. If your image is larger, then you may either want to
create
another attribute or store the image in a database or file share and
maintain a reference to the location of the image in the attribute.

MSDN provides all the documentation for extending the Users & Computers
snap-in with Property Pages & Context Menus. The sample code that was
included in the SDK in fact extends the snap-in with an additional property
page that exposes both the thumbNailPhoto and employeeID attributes.

I believe these were placed as samples in the Platform SDK.
You should be able to find them under \Microsoft Platform
SDK\Samples\NetDs\ADSI\Samples\DSUI\userext\

Please let me know if this helps.

Q292029 HOWTO: Manipulate the ThumbNailPhoto Attribute of a User Object
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q292029

Q290999 INFO: Determine the lDAPDisplayName for an Attribute
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q290999


RUNNING THE APPLICATION on Windows 2000:
========================================

1) Launch Active Directory Users and Computers snapin

2) Right click on a container or organizational unit.

3) Select New and then User from the context menu.

4) Proceed through the wizard as usual. There will be an additional page
for adding a thumbnail photo and employee ID for the user.


Thank You.

Diana.
 
Back
Top