How can I access the settings of a Share Service Provider programmatically. Especially how could I retrieve the MySite storage location defined in a SSP's MySite settings?
Asked
Active
Viewed 387 times
1 Answers
1
Have a look at the Microsoft.Office.Server.UserProfiles namespace and this code sample. You need the UserProfileManager.MySiteHostUrl property.
You can access the current SSP using reflection. See this question for more information.

Community
- 1
- 1

Alex Angas
- 59,219
- 41
- 137
- 210
-
Thx! MySiteHostUrl was not exactly what I was looking for but you pushed my in the right direction. I was looking for the UserProfileManager.PersonalSiteInclusion property. – Flo Aug 25 '09 at 15:23
-
Ah nice one. There are more My Site properties you can get in some articles here: http://stsadm.blogspot.com/2007/09/my-site-settings.html – Alex Angas Aug 25 '09 at 15:30