locked
Getting UserName from User Id Value RRS feed

  • Question

  • User-863182731 posted

    Hello,

    I have a sqldatasource that has a userid value. But I need the username of the userid. How would I get the username from the userid value.

    Sincerely,

    Computergyrl

    Wednesday, August 24, 2011 7:06 PM

Answers

  • User-517349467 posted

    If you want just username then you can fetch the username at the time of login and then store it in the session so that you can use it any where.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 24, 2011 9:20 PM