Results 1 to 2 of 2

Thread: getting current users email address in a zimlet

  1. #1
    Join Date
    Mar 2006
    Posts
    6
    Rep Power
    9

    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
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    For me it works perfectly with this :
    Code:
    var username = this.getUsername();
    This work too as well (this one is used by the yahoo local zimlet) :
    Code:
    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
  •