Inffuse.user.email

Editor mode only! (Set available only from settings window) Get or Set the user email Returns the current user email if no <email> parameter supplied (Get).

Syntax

Inffuse.user.email()

Examples

   user_email = Inffuse.user.email()
   console.log("User email=%s", user_email);

Wait for response

   Inffuse.user.email('newmail@domain.com')
     .done(function(){
       // Success!
      })
     .fail(function(){
       // Handle set email failure
     });