none
Current User's login Name in a list item RRS feed

  • Question

  • We have a list in MOSS 2007 which contains a number of web links (URLs of external and internal sites). Out of these, some URLs require the logged in user's user name to be placed within specific placeholders within the URL (e.g. http://www.somesite.com/access/[username]/index.aspx). Is there an easy way to accomplish this in MOSS? We have thought of several workarounds
    1. Quick and dirty way is to have a link (in the List) that points to an ASPX page, which in turn does a URL re-direction to the correct URL with the login name substituted.
    2. Write a custom web part (like a ASP.NET LinkButton control that reads the URL from an XML config file and adds the user name in the appropriate place (this cannot be placed in the list though)

    How can I get this accomplished?

    Wednesday, November 4, 2009 10:46 PM

Answers

All replies