Web Services: Enable/Disable account ?
Question asked by Sanidin Muratbegovic - January 27, 2015 at 9:00 AM
is it possible to enable/disable mail account from Web Service? 
if not, it it possible to do from code?

1 Reply

Reply to Thread
Robert Emmett Replied
Employee Post
You can use the svcUserAdmin.asmx web service and call GetRequestedUserSettings and SetRequestedUserSettings methods.  There are two properties that can be set isenabled (true / false) and enabledstatus (enabled / disabled / disabledwmail).
For enabledstatus:
- disabledwmail will disable the user's web interface access but the account still receives mail;
- disabled disables the user's account;
- enabled enables the user's account
I hope this helps.
Robert Emmett
Software Developer
SmarterTools Inc.
(877) 357-6278

Reply to Thread