Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

User id

edited April 2007 in Vanilla 1.0 Help
I am able to get the authenticated user's name and display it.

Is there an easy way to get their id?

I want to make their name a link to their account page.

Posted: Friday, 13 April 2007 at 5:07PM


  • Options
    the People.Class.UserManager Class has a function called GetUserIdByName($Username)
  • Options
    Can you give me an example of use?

    Posted: Friday, 13 April 2007 at 7:40PM

  • Options
    Never mind, I worked it out...
    $memberid = $Context->Session->UserID;

    Posted: Friday, 13 April 2007 at 8:15PM

This discussion has been closed.