| Author |  | 
      
        | testverge Newbie
 
  
 
 Joined: 06 February 2013
 Location: India
 Online Status: Offline
 Posts: 11
 | 
          Hello,
           | Posted: 11 February 2013 at 8:15pm | IP Logged |   |  
           | 
 |  
 I tried adding tab as mentioned in the documentation, but it takes the user to another window.
 I would like it to open that via ajax, how can i achieve this.
 
 Thanks
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          I recommend you study the source code and see how that's done for calendar.
           | Posted: 11 February 2013 at 10:26pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | testverge Newbie
 
  
 
 Joined: 06 February 2013
 Location: India
 Online Status: Offline
 Posts: 11
 | 
          Ok, is there a way to update password of a user account by means of api, I check the api but could not find one.
           | Posted: 11 February 2013 at 11:31pm | IP Logged |   |  
           | 
 |  
 Thanks
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You can obtain account info with GetAccountOnLogin method, change any settings you need, and then use UpdateAccount method to save changes. Be sure to check this documentation page for details.
           | Posted: 11 February 2013 at 11:39pm | IP Logged |   |  
           | 
 |  
 And of course, the password is changed on webmail end only, there's no way to affect actual password of IMAP/POP3 account on server. In most cases, there's no need to change webmail account password explicitly - just log in with the new password specified, and that will work as expected.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | testverge Newbie
 
  
 
 Joined: 06 February 2013
 Location: India
 Online Status: Offline
 Posts: 11
 | 
          following files are included, but still GetAccountOnLogin() method is not being called, which file stores this method?
           | Posted: 12 February 2013 at 12:18am | IP Logged |   |  
           | 
 |  
 require_once WM_ROOTPATH.'application/include.php';
 
 require_once WM_ROOTPATH.'common/inc_constants.php';
 
 require_once WM_ROOTPATH.'common/class_convertutils.php';
 
 
 Thanks
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You need to load users API manager. To get an idea how it's done, see the last example here.
           | Posted: 12 February 2013 at 12:21am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |