Simple code sample showing how to retrieve profiles and their properties from a SharePoint site.
Note:
- This code is relevant only if you’re running it on the SharePoint box, ie: web part, console app. If you need to access profiles outside of the box, use web services, as detailed by Michael Bowersox’s post.
- Microsoft.Office.Server.UserProfiles reference.
- Instantiate the UserProfileManager with your site context.
- PropertyConstants for retrieval of pre-defined properties. Every profile has a handful of standard properties, but check to make sure the property contains data to avoid a possible null reference exception.
- Replace PropertyConstants with custom property name to get your custom properties.
Read more
Here is a little mix that I did, which I plan to expand into a 60 minner…sometime.
Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.
Another loop I made for a ringtone…
Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.
Here is a loop I did for my iPhone. All memebers of triphopclan get this ringtone.
Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.
Here is a little loop I did back in 1995 when I was messing around with Soundforge 4.5
Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.