We understand that our users who have connected their portal to Active Directory enjoy the convenience of having information update across both platforms (name changes, title changes, etc.) when the app pool recycles.
We have found a connector that can help you ALSO add and update photos to the portal from Active Directory!
Important Note #1: For the BEST performance, photos should already be close to the size you'll be using in the portal (ex: 300 x 300)
Important Note #2: Whatever size you decide, they should be a uniform same size. (i.e the same size as each other.)
Important Note #3: There is an attachment to this article; you'll need to download that .zip file. It contains the .dll referenced below.
Follow these steps:
1. Goto :\inetpub\wwwroot\Production Portal
- Open the web.config file
- Add the following entry in the <userProfiles> section
<add name="CustomActiveDirectoryUserProfile" description="Custom Active Directory"
connectionStringName="LDAP" attributeMapUserName="sAMAccountName" type="Passageways.Consulting.Modules.CustomADProfileProvider.CustomADUserProfileProvider,
2. Put/replace the attached dll “Passageways.Consulting.Modules.CustomADProfileProvider.dll” in bin folder.
3. Using a 3rd party program such as code2 or an Active directory photo attribute installer to add pictures to users. See attached file C2ADPhotosSetupEN.exe
IMPORTANT! When you install code2, do not install it on a Domain controller, you will get permissions issues. I used a member server for the install and it worked fine.
4. Add pictures to users.
5. Recycle app pool.
6. Photos show in portal.
*Note: We like code2. It's free, easy to use, and can take a WHOLE folder of photos off your desktop and put them right into Active Directory.
**Note 2: This means you won't be able to "update photo" via the User Profile in your portal - if you do, AD will force/revert the next time your app pool runs!