Results 1 to 2 of 2

Thread: Getting username in panel from zimlet

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default Getting username in panel from zimlet

    Hi,

    I want to change SMS zimlet for my needs. Unfortunately I don't know how to get username which is logged in panel and using SMS zimlet. This is needed for me to write in some mysql database. So.. how to get this username from JS ??

  2. #2
    Join Date
    Apr 2008
    Location
    Vancouver, BC
    Posts
    54
    Rep Power
    7

    Default

    You can get the username of the currently logged-in user by calling ZmZimletBase.prototype.getUsername() (returns user@domain.tld). You can get the user's unique ID by calling ZmZimletBase.prototype.getUserID()
    Graham Ballantyne
    Simon Fraser University

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Zimlet Username change in Zimbra 5
    By Ericx in forum Zimlets
    Replies: 0
    Last Post: 02-13-2008, 07:32 AM
  3. Replies: 0
    Last Post: 04-25-2007, 06:20 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM

Posting Permissions

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