Results 1 to 2 of 2

Thread: getting current users email address in a zimlet

  1. #1
    Join Date
    Mar 2006
    Rep Power

    Default getting current users email address in a zimlet

    is there a method in ZmZimletBase.js that I'm overlooking to find the email address(es) associated with the current user?

    Also my javascript code stops executing when I try to use the ZmZimletBase getUsername() method. Anyone has a working sample for this?
    In order to understand recursion, one must first understand recursion.

  2. #2
    Join Date
    Apr 2007
    Paris, France
    Rep Power


    For me it works perfectly with this :
    var username = this.getUsername();
    This work too as well (this one is used by the yahoo local zimlet) :
    var username = appCtxt.get(ZmSetting.USERNAME);

Similar Threads

  1. Replies: 7
    Last Post: 10-09-2008, 08:06 AM
  2. Login showing wrong users email
    By gfdos.sys in forum Administrators
    Replies: 10
    Last Post: 04-08-2008, 08:13 AM
  3. Can't Login to Admin Console - 5.0.1_GA_1902
    By FritzBrause in forum Installation
    Replies: 15
    Last Post: 02-05-2008, 05:23 PM
  4. Cannot add email address to Distribution list
    By cirrus_blue in forum Users
    Replies: 1
    Last Post: 08-02-2007, 11:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts