Author |
|
testverge Newbie
Joined: 06 February 2013 Location: India
Online Status: Offline Posts: 11
|
Posted: 11 February 2013 at 8:15pm | IP Logged
|
|
|
Hello,
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: 6103
|
Posted: 11 February 2013 at 10:26pm | IP Logged
|
|
|
I recommend you study the source code and see how that's done for calendar.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
testverge Newbie
Joined: 06 February 2013 Location: India
Online Status: Offline Posts: 11
|
Posted: 11 February 2013 at 11:31pm | IP Logged
|
|
|
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.
Thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 11 February 2013 at 11:39pm | IP Logged
|
|
|
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.
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
|
Posted: 12 February 2013 at 12:18am | IP Logged
|
|
|
following files are included, but still GetAccountOnLogin() method is not being called, which file stores this method?
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: 6103
|
Posted: 12 February 2013 at 12:21am | IP Logged
|
|
|
You need to load users API manager. To get an idea how it's done, see the last example here.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|