10 #import <kerio/web/idl/SharedStructures.idl>
15 #import <MobileCommon.idl>
26 typedef sequence<PublicFolder> PublicFolderList;
31 typedef sequence<string> UserEmailAddressList;
57 UserRoleType userRole;
58 boolean publicFolderRight;
59 boolean archiveFolderRight;
65 enum UserForwardMode {
74 enum UserDeleteFolderMode {
96 DataSource itemSource;
102 typedef sequence<UserGroup> UserGroupList;
124 typedef sequence<QuotaUsage> QuotaUsageList;
189 typedef sequence<User> UserList;
202 typedef sequence<EffectiveUserRights> EffectiveUserRightsList;
207 enum ServerDirectoryType {
217 ServerDirectoryType directoryType;
218 string remoteDomainName;
223 boolean isSecureConnection;
259 typedef sequence<UserStats> UserStatList;
272 typedef sequence<ResultTriplet> ResultTripletList;
282 DirectoryServiceDeleteMode
mode;
285 typedef sequence<RemovalRequest> RemovalRequestList;
296 typedef sequence<Importee> ImporteeList;
327 void activate(out kerio::web::ErrorList errors, in kerio::web::KIdList userIds);
336 void activateOnServer(out kerio::web::ErrorList errors, in kerio::web::KIdList userIds, in kerio::web::KId homeServerId);
346 void connectFromExternalService(out
boolean result, in
string service, in
string connectionId, in
string clientIpAddress, in
long port, in
boolean isSecure);
357 void authenticateConnectionFromExternalService(out AuthResult result, in
string userName, in
string password, in
string service, in
string connectionId, in
boolean isSecure);
364 void disconnectFromExternalService(in
string service, in
string connectionId);
372 void cancelWipeMobileDevice(in kerio::web::KId userId, in
string deviceId);
380 void checkMailboxIntegrity(in kerio::web::KIdList userIds);
389 void create(out kerio::web::ErrorList errors, out kerio::web::CreateResultList result, in UserList users);
397 void createLdap(out kerio::web::ErrorList errors, out kerio::web::CreateResultList result, in UserList users);
406 void exportStatistics(out
kerio::web::Download fileDownload, in kerio::web::KIdList userIds, in FileFormatType format);
426 void get(out UserList list, out
long totalItems, in
kerio::web::SearchQuery query, in kerio::web::KId domainId);
434 void getContactPublicFolderList(out PublicFolderList publicFolders, in kerio::web::KId domainId);
443 void getFromServer(out ImporteeList newUsers, in
ImportServer importServer, in kerio::web::KId domainToImport);
461 void getMobileDeviceList(out kerio::jsonapi::mobile::MobileDeviceList list, out
long totalItems, in kerio::web::KId userId, in
kerio::web::SearchQuery query);
470 void getNotActivated(out ImporteeList newUsers, in kerio::web::KId domainId);
479 void getRecoveryDeletedItemsSize(out kerio::web::ErrorList errors, out QuotaUsageList sizeList, in kerio::web::KIdList userIds);
499 void parseFromCsv(out ImporteeList users, in
string fileId, in kerio::web::KId domainToImport);
509 void recoverDeletedItems(out kerio::web::ErrorList errors, out ResultTripletList recoveryMessages, in kerio::web::KIdList userIds);
517 void remove(out kerio::web::ErrorList errors, in RemovalRequestList requests);
525 void removeMobileDevice(in kerio::web::KId userId, in
string deviceId);
532 void resetBuddyList(in kerio::web::KIdList userIds);
542 void getEffectiveUserRights(out kerio::web::ErrorList errors, out EffectiveUserRightsList result, in kerio::web::KIdList userIds);
552 void set(out kerio::web::ErrorList errors, in kerio::web::KIdList userIds, in
User pattern);
560 void wipeMobileDevice(in kerio::web::KId userId, in
string deviceId);
566 void getPersonalContact(out kerio::web::ErrorList errors, out kerio::jsonapi::contacts::PersonalContactList contacts, in kerio::web::KIdList userIds);