This project is read-only.

Upload photo

Aug 21, 2012 at 5:28 PM

Can this web part be used to upload photos to the AD photo attribute?

Aug 27, 2012 at 2:07 PM

It's not possible now. I'm working on it and it will be available for the next version.



Sep 12, 2012 at 12:13 PM

This woul be very very helpful. Any plans when it will released?

Thanks and regards

Oct 1, 2012 at 1:29 PM

Good progress made last week. It should be ready in a few days :)

Oct 4, 2012 at 12:12 AM

The new version is out with thumbnailPhoto editing capacity. Give it  a try!

Mar 8, 2013 at 9:25 AM
I've tried the new version (2.1) but cannot see a way to add a photo. Does someting need to be added to Parameters?
Mar 9, 2013 at 4:28 AM

You have to add this in the webpart parameters (in "AD Properties") and save:
<property adname="thumbnailPhoto" name="Photo" type="image" />

Next time you reload, a new field withe the ability to add a picture will appear.


Nov 18, 2014 at 3:08 PM
Edited Nov 18, 2014 at 3:09 PM
Great tool!
Is there a possibility to change the default picture size?
Pictures are now resized to 128x128. We would like to have different values there.
Nov 18, 2014 at 4:52 PM
It's currently not possible.
I've added your request to the whishlist :
It'll be added as soon as I have some time...
Nov 19, 2014 at 8:27 AM
We have an issue with editing birthdays. The AD Attribute is 'employeeAnniv'. In AD the value looks like for example '197808120000000.0Z'.
In Edit mode like this:
In the Webpart User configuration the following line exists:
<property adname='EmployeeAnniv' name='Geboortedatum' type='date' />
In the tool there is a calendar button next to the birthdaybox, but there is no date in it and all of the next fields stay empty.
When entering a birthday date, the following error appears:

System.DirectoryServices.DirectoryServicesCOMException (0x8007200B): The attribute syntax specified to the directory service is invalid. at System.DirectoryServices.DirectoryEntry.CommitChanges() at ADUserEditorWebpart.ADuserEditorWebpart.ADuserEditorWebpart.apply_Click (Object sender, EventArgs e)
Nov 19, 2014 at 9:04 AM
Is it a custom attribute you've created? It seems that this attribute type doesn't match the expected format, which is the same as accountExpires :
Nov 19, 2014 at 9:13 AM
Yes, it's custom created.
That is very useful info. Thank you!
Nov 19, 2014 at 9:25 AM
Edited Nov 19, 2014 at 9:28 AM
But adding <property adname='accountExpires' name='Test' type='date' /> gives me this:

System.Xml.XmlException: There are multiple root elements. Line 1, position 715. at System.XML.XmltextReaderImpl.Throw etc
Nov 19, 2014 at 3:46 PM
Have a look at your XML config syntax: You should add this element before tle last closing tag.
Could you create another topic if you have some more questions as this is not related with the photo attribute.
Nov 20, 2014 at 7:41 AM
Thank you, will do.
You had it right about the closing tag not being the last part of the xml config. Thanks again.