Access Share Service Provider (SSP) settings
-
19-09-2019 - |
Question
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?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow