10 #import <kerio/web/idl/SharedStructures.idl>
15 #import <MobileCommon.idl>
26 typedef sequence<PublicFolder> PublicFolderList;
31 typedef sequence<string> UserEmailAddressList;
58 UserRoleType userRole;
59 boolean publicFolderRight;
60 boolean archiveFolderRight;
66 enum UserForwardMode {
75 enum UserDeleteFolderMode {
97 DataSource itemSource;
103 typedef sequence<UserGroup> UserGroupList;
125 typedef sequence<QuotaUsage> QuotaUsageList;
191 typedef sequence<User> UserList;
204 typedef sequence<EffectiveUserRights> EffectiveUserRightsList;
209 enum ServerDirectoryType {
219 ServerDirectoryType directoryType;
220 string remoteDomainName;
225 boolean isSecureConnection;
261 typedef sequence<UserStats> UserStatList;
274 typedef sequence<ResultTriplet> ResultTripletList;
284 DirectoryServiceDeleteMode
mode;
287 typedef sequence<RemovalRequest> RemovalRequestList;
298 typedef sequence<Importee> ImporteeList;
329 void activate(out kerio::web::ErrorList errors, in kerio::web::KIdList userIds);
338 void activateOnServer(out kerio::web::ErrorList errors, in kerio::web::KIdList userIds, in kerio::web::KId homeServerId);
348 void connectFromExternalService(out
boolean result, in
string service, in
string connectionId, in
string clientIpAddress, in
long port, in
boolean isSecure);
359 void authenticateConnectionFromExternalService(out AuthResult result, in
string userName, in
string password, in
string service, in
string connectionId, in
boolean isSecure);
366 void disconnectFromExternalService(in
string service, in
string connectionId);
374 void cancelWipeMobileDevice(in kerio::web::KId userId, in
string deviceId);
382 void checkMailboxIntegrity(in kerio::web::KIdList userIds);
391 void create(out kerio::web::ErrorList errors, out kerio::web::CreateResultList result, in UserList users);
399 void createLdap(out kerio::web::ErrorList errors, out kerio::web::CreateResultList result, in UserList users);
408 void exportStatistics(out
kerio::web::Download fileDownload, in kerio::web::KIdList userIds, in FileFormatType format);
428 void get(out UserList list, out
long totalItems, in
kerio::web::SearchQuery query, in kerio::web::KId domainId);
436 void getContactPublicFolderList(out PublicFolderList publicFolders, in kerio::web::KId domainId);
445 void getFromServer(out ImporteeList newUsers, in
ImportServer importServer, in kerio::web::KId domainToImport);
463 void getMobileDeviceList(out kerio::jsonapi::mobile::MobileDeviceList list, out
long totalItems, in kerio::web::KId userId, in
kerio::web::SearchQuery query);
472 void getNotActivated(out ImporteeList newUsers, in kerio::web::KId domainId);
481 void getRecoveryDeletedItemsSize(out kerio::web::ErrorList errors, out QuotaUsageList sizeList, in kerio::web::KIdList userIds);
501 void parseFromCsv(out ImporteeList users, in
string fileId, in kerio::web::KId domainToImport);
511 void recoverDeletedItems(out kerio::web::ErrorList errors, out ResultTripletList recoveryMessages, in kerio::web::KIdList userIds);
519 void remove(out kerio::web::ErrorList errors, in RemovalRequestList requests);
527 void removeMobileDevice(in kerio::web::KId userId, in
string deviceId);
534 void resetBuddyList(in kerio::web::KIdList userIds);
544 void getEffectiveUserRights(out kerio::web::ErrorList errors, out EffectiveUserRightsList result, in kerio::web::KIdList userIds);
554 void set(out kerio::web::ErrorList errors, in kerio::web::KIdList userIds, in
User pattern);
562 void wipeMobileDevice(in kerio::web::KId userId, in
string deviceId);
568 void getPersonalContact(out kerio::web::ErrorList errors, out kerio::jsonapi::contacts::PersonalContactList contacts, in kerio::web::KIdList userIds);