Timeline for How can I upload documents/pictures into a users "My Site" Shared documents/pictures?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 3, 2011 at 17:13 | comment | added | Chris Beckett | Sounds workable. Yes, use the User Profile, get the MySite location and then open the SPList for their Shared Picture library. Since the Web Part will be executing in the user's security context, you should not have any permission issues. | |
May 3, 2011 at 16:58 | comment | added | TehOne | My goal is this (in a nut shell). I have my main intranet site, MyMainSite and on that site I want to make a web part that allows users to upload photos that become part of a photo gallery. But I was thinking it would make sense to store these photos in each users own "My Site" shared picture library instead of storing them on MyMainSite. So I was hoping there was a really easy way for me to just get programmatic access to the users shared MySite picture library. Sounds like I'm going to have to use the User Profile to get the MySite address & then do an OpenSite etc. Any other options? | |
May 3, 2011 at 10:37 | comment | added | Chris Beckett | If you are doing it for the current user you can get the location of their MySite from their User Profile. | |
May 3, 2011 at 2:39 | history | answered | Marc D Anderson | CC BY-SA 3.0 |