When given the choice of either creating another login/password and another place to store details, or using an existing one (Active Directory), the second is usually a better choice.
With AD able to store images uploaded by a user, it’s possible to retrieve them just like any other property. This generic handler will retrieve, resize, then cache an image from Active Directory. If the user doesn’t have an image a generic one will be inserted into the cache and served instead.
This saves the load of hitting the AD server for large images every time you need a user thumbnail.
Two query string parameter are required, **size** and **username** which is the sAMAccountName.