Web Part to show upcomming birthdays in SharePoint V2.0
I’ve updated my SPOShowBirthdayWebPart on the SharePointology project on Codeplex.com.
SPOShowBirthdayWebPart is a webpart that will display all users whose birthday is coming up in x days.
Changed in V2.0:
- Replaced username by Firstname and Lastname.
- Made Name column link to the user profile page
Download SPOShowBirthdayWebPart v2.0.
Prerequisites
This webpart uses the RunWithElevatedPrivileges function to impersonate the administrator in SharePoint Server 2007. After you do this, you may receive the following error message when you try to enumerate all user profiles:
“Access Denied. Only an administrator may enumerate through all user profiles.”
Microsoft released a hotfix package for this bug “SharePoint Server 2007 hotfix package: May 8, 2008″,
http://support.microsoft.com/kb/952294
If you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.
October 19th, 2009 at 11:21
Hi,
I used this webpart in moss 2007.
I am only able to see the dates in date column.
The name column is with blank data. No name is being displaied.
Can you please let know where to give name input (either in AD profile or My site) so that they can be visible in this webpart?
Thanks in advance.
October 23rd, 2009 at 07:48
Enter the first name and last name in Active Directory, they will get Synchronized with the SharePoint Userprofiles and that way they will show up in the Webpart.
Regards,
Erwin
October 27th, 2009 at 10:01
Hi Can we set up this webpart so that it only shows us TODAYS birthdays? OR How can we set it up to show many days ahead it should display?? Thank you!
February 24th, 2010 at 11:32
Hi,
I installed your webpart.. and the webpart displays the following “Year, Month, and Day parameters describe an un-representable DateTime.”
Any Idea??
thank’s!