Using WebParts, how can I let anonymous users see customizations made by authorized users?
I have an app that allows a user (fred) to login and customize a page. I then want anonymous users to access the page using the login users name (fre) and see the customized page.
Is there a way that I can programmatically load the profile?
The anonymous users do not 开发者_JS百科have the password for the page, just the user name. I have the web.config set to allow access for everyone to the page, but the WebParts do not get loaded because they are part of the user's profile. I was hoping I could take the users name and programmatically load the respective WebParts for that user.
Any help is appreciated.
Thanks
you could load it based on session state where session["username"] = fred for example
精彩评论