c# - How do I get the username of the currently displayed profile in a SharePoint Webpart for MySites -


I am writing a web part that will be displayed in public SharePoint My Sites. This section will display some third party information for the user whose profile is being displayed. For example, if UserA is viewing a UserB profile, it will show some information about UserB. How can I get the Username 'UserBy' in WebPort code? Is this 'Account' query string safe to use the ultimate, or is there another way to do this from the SP object model?


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -