Results 1 to 2 of 2

Thread: Getting username in panel from zimlet

  1. #1
    loocek is offline Senior Member
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    4

    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
    grahamb's Avatar
    grahamb is offline Trained Alumni
    Join Date
    Apr 2008
    Location
    Vancouver, BC
    Posts
    51
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Zimlet Username change in Zimbar 5
    By Ericx in forum Zimlets
    Replies: 0
    Last Post: 02-13-2008, 08: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, 11: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
  •