Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » remove Users from Kerio with message folder (How to remove folder )
  •  
dgo

Messages: 3
Karma: 0
Send a private message to this user
Hi,

i remove old kerio users with the json api. But I want to remove the message folder, too. I think i have to set the options UserDeleteFolderMode and DirectoryServiceDeleteMode, but I dont know what options are possible.

The manual ist not very helpful at this point.


"domainId" => $domainid,
"requests" => [ {
"userId" => $id,
"UserDeleteFolderMode" => ???
"DirectoryServiceDeleteMode" => ???
}]


Kind Regards,
Daniel
  •  
Petr Dobry (Kerio)

Messages: 774
Karma: 61
Send a private message to this user
It's all described in IDL files:

"domainId" => $domainid,
"requests" => [ { 
      "userId" => $id,
      "method" => UserDeleteFolderMode.UDeleteUser,
      "mode" => DirectoryServiceDeleteMode.DSModeDelete
}]


/**
 *  Type of deleting folder of the user
 */
enum UserDeleteFolderMode {
    UDeleteUser,   ///< Delete user without deleting his folder.
    UDeleteFolder, ///< Delete user and delete his folder.
    UMoveFolder    ///< Delete user and his folder will move into another user's folder.
 };


 /**
 *  Type of deleting a user
 */
  enum DirectoryServiceDeleteMode {
    DSModeDeactivate, ///< User is deactivated but not deleted
    DSModeDelete      ///< User is deleted
  };

Petr Dobry
Product Development Manager | Kerio

Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
Looking for help ? - http://kb.kerio.com
Previous Topic: Outlook 2016/Kerio Connector crashing when adding a mailbox
Next Topic: Kerio Connect Possible Space Issue
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Wed Feb 22 07:11:08 CET 2017

Total time taken to generate the page: 0.00833 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.