1
Web Services: Enable/Disable account ?
Question asked by Sanidin Muratbegovic - January 27, 2015 at 9:00 AM
Unanswered
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
0
Robert Emmett Replied
January 27, 2015 at 9:53 AM
Employee Post
Sanidin,
 
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
www.smartertools.com

Reply to Thread