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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -