Difference between revisions of "Administration API - Function Reference"
[unchecked revision] | [quality revision] |
Line 11: | Line 11: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>name</tt> | | <tt>name</tt> | ||
Line 20: | Line 16: | ||
| Meaningful name of archive store. | | Meaningful name of archive store. | ||
|- | |- | ||
− | | <tt> | + | | <tt>type</tt> |
− | | string | + | | string (optional) |
− | | | + | | |
|- | |- | ||
− | | <tt> | + | | <tt>databaseName</tt> |
| string (optional) | | string (optional) | ||
− | | | + | | Name of database on Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>databasePath</tt> |
− | | | + | | string (optional) |
+ | | Path to directory in which database folder information and email meta data are stored. | ||
|- | |- | ||
− | | <tt> | + | | <tt>contentPath</tt> |
− | | | + | | string (optional) |
− | + | | Path to directory in which email headers and contents are stored. | |
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>indexPath</tt> |
| string (optional) | | string (optional) | ||
− | | | + | | Path to directory in which full text search indexes are stored. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>serverName</tt> | | <tt>serverName</tt> | ||
− | | string | + | | string (optional) |
− | | Name of | + | | Name of Microsoft SQL Server or PostgreSQL server. |
|- | |- | ||
− | | <tt> | + | | <tt>userName</tt> |
− | | string | + | | string (optional) |
− | | | + | | User name for accessing Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>password</tt> |
− | | | + | | string (optional) |
− | | | + | | Password for accessing Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>requestedState</tt> |
− | | | + | | string (optional) |
− | | | + | | State of archive store after attaching. |
|} | |} | ||
=== Argument Values === | === Argument Values === | ||
− | ==== | + | ==== type ==== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
− | ! width= | + | ! width=270px | Name |
− | |||
! Description | ! Description | ||
|- | |- | ||
− | | <tt> | + | | <tt>FileSystemStandard</tt> |
− | | | + | | Standard archive store. |
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>FileSystemAdvanced</tt> |
− | | | + | | Advanced file system-based archive store. |
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>SQLServer</tt> |
− | | | + | | Microsoft SQL Server-based arechive store. |
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>PostgreSQL</tt> |
− | | | + | | PostgreSQL server-based archive store. |
− | |||
|} | |} | ||
− | |||
− | |||
==== requestedState ==== | ==== requestedState ==== | ||
Line 236: | Line 91: | ||
|} | |} | ||
− | == | + | == ClearUserPrivilegesOnFolders == |
− | + | Removes all privileges of a user on all archive folders. | |
=== Arguments === | === Arguments === | ||
Line 245: | Line 100: | ||
! Description | ! Description | ||
|- | |- | ||
− | | <tt> | + | | <tt>userName</tt> |
− | |||
− | |||
− | |||
− | |||
| string | | string | ||
− | | | + | | User name of MailStore user. |
|} | |} | ||
− | == | + | == CompactMasterDatabase == |
+ | Compact master database. | ||
− | == | + | == CompactStore == |
− | + | Compact archive store. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Arguments === | === Arguments === | ||
Line 286: | Line 116: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>id</tt> | | <tt>id</tt> | ||
| number | | number | ||
− | | Unique ID of archive store | + | | Unique ID of archive store |
|} | |} | ||
− | == | + | == CreateProfile == |
− | + | Create a new archiving or exporting profile. | |
=== Arguments === | === Arguments === | ||
Line 370: | Line 131: | ||
! Description | ! Description | ||
|- | |- | ||
− | | <tt> | + | | <tt>properties</tt> |
− | | | + | | json |
− | | | + | | Profile properties. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>raw</tt> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| bool | | bool | ||
− | | | + | | Currently only 'true' is supported. |
|} | |} | ||
=== Argument Values === | === Argument Values === | ||
− | ==== | + | ==== properties ==== |
− | + | To receive available profile properties create a profile of the desired type via MailStore Client and use the GetProfiles method to receive supported value. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == CreateStore == |
− | + | Create and attach a new archive store. | |
=== Arguments === | === Arguments === | ||
Line 453: | Line 154: | ||
! Description | ! Description | ||
|- | |- | ||
− | | <tt> | + | | <tt>name</tt> |
| string | | string | ||
− | | | + | | Meaningful name of archive store. |
|- | |- | ||
− | | <tt> | + | | <tt>type</tt> |
| string (optional) | | string (optional) | ||
− | | | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>databaseName</tt> |
− | | string | + | | string (optional) |
− | | | + | | Name of database on Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>databasePath</tt> |
− | | string | + | | string (optional) |
− | | | + | | Path to directory in which database folder information and email meta data are stored. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>contentPath</tt> |
| string (optional) | | string (optional) | ||
− | | | + | | Path to directory in which email headers and contents are stored. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>indexPath</tt> |
− | | | + | | string (optional) |
+ | | Path to directory in which full text search indexes are stored. | ||
|- | |- | ||
| <tt>serverName</tt> | | <tt>serverName</tt> | ||
− | | | + | | string (optional) |
− | | | + | | Name of Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>userName</tt> |
− | | string | + | | string (optional) |
− | | | + | | User name for accessing Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>password</tt> |
− | | string | + | | string (optional) |
− | | | + | | Password for accessing Microsoft SQL Server or PostgreSQL server. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>requestedState</tt> |
− | + | | string (optional) | |
− | + | | State of archive store after attaching. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | string | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
=== Argument Values === | === Argument Values === | ||
− | ==== | + | ==== type ==== |
{| class="wikitable" | {| class="wikitable" | ||
! width=270px | Name | ! width=270px | Name | ||
! Description | ! Description | ||
|- | |- | ||
− | | <tt> | + | | <tt>FileSystemStandard</tt> |
− | | | + | | Standard archive store. |
|- | |- | ||
− | | <tt> | + | | <tt>FileSystemAdvanced</tt> |
− | | | + | | Advanced file system-based archive store. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>SQLServer</tt> |
− | | | + | | Microsoft SQL Server-based arechive store. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | <tt> | + | | <tt>PostgreSQL</tt> |
− | | | + | | PostgreSQL server-based archive store. |
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== requestedState ==== | ==== requestedState ==== | ||
Line 1,034: | Line 232: | ||
| Disabled archive stores are not in use but the instance still knows about their existence. Therefore the content is not available to users. | | Disabled archive stores are not in use but the instance still knows about their existence. Therefore the content is not available to users. | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== CreateUser == | == CreateUser == | ||
Line 1,276: | Line 241: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,299: | Line 260: | ||
| <tt>authentication</tt> | | <tt>authentication</tt> | ||
| string (optional) | | string (optional) | ||
− | | Authentication setting for user: 'integrated | + | | Authentication setting for user: 'integrated or 'directoryServices'. |
|- | |- | ||
| <tt>password</tt> | | <tt>password</tt> | ||
Line 1,314: | Line 275: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>folder</tt> | | <tt>folder</tt> | ||
Line 1,332: | Line 289: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>id</tt> | | <tt>id</tt> | ||
Line 1,350: | Line 303: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>id</tt> | | <tt>id</tt> | ||
Line 1,368: | Line 317: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,377: | Line 322: | ||
| User name of MailStore user. | | User name of MailStore user. | ||
|} | |} | ||
+ | |||
+ | == DetachStore == | ||
+ | Detach archive store | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of archive store. | ||
+ | |} | ||
+ | |||
+ | == GetActiveSessions == | ||
+ | Get list of current user sessions. | ||
== GetChildFolders == | == GetChildFolders == | ||
Line 1,386: | Line 348: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>folder</tt> | | <tt>folder</tt> | ||
Line 1,402: | Line 360: | ||
== GetComplianceConfiguration == | == GetComplianceConfiguration == | ||
Get current compliance configuration settings. | Get current compliance configuration settings. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== GetDirectoryServicesConfiguration == | == GetDirectoryServicesConfiguration == | ||
Get current Directory Services configuration settings. | Get current Directory Services configuration settings. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== GetFolderStatistics == | == GetFolderStatistics == | ||
Get folder statistics. | Get folder statistics. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== GetMessages == | == GetMessages == | ||
Line 1,450: | Line 375: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>folder</tt> | | <tt>folder</tt> | ||
Line 1,468: | Line 389: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>raw</tt> | | <tt>raw</tt> | ||
Line 1,478: | Line 395: | ||
|} | |} | ||
− | == | + | == GetServerInfo == |
− | Get list of | + | Get MailStore Server version and machine name. |
+ | |||
+ | == GetStoreIndexes == | ||
+ | Get list of attachment file types to index. | ||
=== Arguments === | === Arguments === | ||
Line 1,487: | Line 407: | ||
! Description | ! Description | ||
|- | |- | ||
− | | <tt> | + | | <tt>id</tt> |
− | | | + | | number (optional) |
− | | Unique ID of | + | | Unique ID of archive store. |
|} | |} | ||
+ | |||
+ | == GetStores == | ||
+ | Get list of archive stores. | ||
+ | |||
+ | == GetTimeZones == | ||
+ | Get list of available time zones. | ||
== GetUserInfo == | == GetUserInfo == | ||
Line 1,500: | Line 426: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,512: | Line 434: | ||
== GetUsers == | == GetUsers == | ||
Get list of users. | Get list of users. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== GetWorkerResults == | == GetWorkerResults == | ||
Line 1,532: | Line 443: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>fromIncluding</tt> | | <tt>fromIncluding</tt> | ||
Line 1,556: | Line 463: | ||
| string (optional) | | string (optional) | ||
| Filter results by given user name. | | Filter results by given user name. | ||
+ | |} | ||
+ | |||
+ | == MaintainFileSystemDatabases == | ||
+ | Run database maintainance on all datbases of file system based archive stores. | ||
+ | |||
+ | == MergeStore == | ||
+ | Merge two archive stores. | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of destination archive store. | ||
+ | |- | ||
+ | | <tt>sourceId</tt> | ||
+ | | number | ||
+ | | Unique ID of source archive store. | ||
|} | |} | ||
Line 1,566: | Line 494: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>fromFolder</tt> | | <tt>fromFolder</tt> | ||
Line 1,578: | Line 502: | ||
| string | | string | ||
| New folder name. | | New folder name. | ||
+ | |} | ||
+ | |||
+ | == RebuildStoreIndex == | ||
+ | Rebuild search index for given archive folder. | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of archive store. | ||
+ | |- | ||
+ | | <tt>folder</tt> | ||
+ | | string | ||
+ | | Name of folder name. | ||
+ | |} | ||
+ | |||
+ | == RefreshAllStoreStatistics == | ||
+ | Refresh statistics of all archive stores. | ||
+ | |||
+ | == RenameStore == | ||
+ | Rename archvive store | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of archive store. | ||
+ | |- | ||
+ | | <tt>name</tt> | ||
+ | | string | ||
+ | | New name of archive store. | ||
|} | |} | ||
Line 1,588: | Line 551: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>oldUserName</tt> | | <tt>oldUserName</tt> | ||
Line 1,601: | Line 560: | ||
| New user name. | | New user name. | ||
|} | |} | ||
+ | |||
+ | == RetryOpenStores == | ||
+ | Retry opening stores that failed previously | ||
== RunProfile == | == RunProfile == | ||
Line 1,610: | Line 572: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>id</tt> | | <tt>id</tt> | ||
Line 1,628: | Line 586: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>properties</tt> | | <tt>properties</tt> | ||
Line 1,645: | Line 599: | ||
==== properties ==== | ==== properties ==== | ||
− | To receive available profile properties create a profile of the desired type via MailStore Client and use the GetProfiles method to receive supported value | + | To receive available profile properties create a profile of the desired type via MailStore Client and use the GetProfiles method to receive supported value. |
== SetComplianceConfiguration == | == SetComplianceConfiguration == | ||
Line 1,655: | Line 609: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>config</tt> | | <tt>config</tt> | ||
Line 1,678: | Line 628: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>config</tt> | | <tt>config</tt> | ||
Line 1,692: | Line 638: | ||
==== config ==== | ==== config ==== | ||
Use GetDirectoryServicesConfiguration to receive supported value. | Use GetDirectoryServicesConfiguration to receive supported value. | ||
+ | |||
+ | == SetStoreProperties == | ||
+ | Set properties of archive store. | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Set properties of archive store. | ||
+ | |- | ||
+ | | <tt>type</tt> | ||
+ | | string (optional) | ||
+ | | | ||
+ | |- | ||
+ | | <tt>databaseName</tt> | ||
+ | | string (optional) | ||
+ | | Name of database on Microsoft SQL Server or PostgreSQL server. | ||
+ | |- | ||
+ | | <tt>databasePath</tt> | ||
+ | | string (optional) | ||
+ | | Path to directory in which database folder information and email meta data are stored. | ||
+ | |- | ||
+ | | <tt>contentPath</tt> | ||
+ | | string (optional) | ||
+ | | Path to directory in which email headers and contents are stored. | ||
+ | |- | ||
+ | | <tt>indexPath</tt> | ||
+ | | string (optional) | ||
+ | | Path to directory in which full text search indexes are stored. | ||
+ | |- | ||
+ | | <tt>serverName</tt> | ||
+ | | string (optional) | ||
+ | | Name of Microsoft SQL Server or PostgreSQL server. | ||
+ | |- | ||
+ | | <tt>userName</tt> | ||
+ | | string (optional) | ||
+ | | User name for accessing Microsoft SQL Server or PostgreSQL server. | ||
+ | |- | ||
+ | | <tt>password</tt> | ||
+ | | string (optional) | ||
+ | | Password for accessing Microsoft SQL Server or PostgreSQL server. | ||
+ | |} | ||
+ | |||
+ | === Argument Values === | ||
+ | |||
+ | ==== type ==== | ||
+ | {| class="wikitable" | ||
+ | ! width=270px | Name | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>FileSystemStandard</tt> | ||
+ | | Standard archive store. | ||
+ | |- | ||
+ | | <tt>FileSystemAdvanced</tt> | ||
+ | | Advanced file system-based archive store. | ||
+ | |- | ||
+ | | <tt>SQLServer</tt> | ||
+ | | Microsoft SQL Server-based arechive store. | ||
+ | |- | ||
+ | | <tt>PostgreSQL</tt> | ||
+ | | PostgreSQL server-based archive store. | ||
+ | |} | ||
+ | |||
+ | == SetStoreRequestedState == | ||
+ | Set state of archive store. | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of archvie store. | ||
+ | |- | ||
+ | | <tt>requestedState</tt> | ||
+ | | string (optional) | ||
+ | | State of archive store after attaching. | ||
+ | |} | ||
+ | |||
+ | === Argument Values === | ||
+ | |||
+ | ==== requestedState ==== | ||
+ | {| class="wikitable" | ||
+ | ! width=270px | Name | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>current</tt> | ||
+ | | Same as Normal but new messages will be archived in the archive store that is set to Current. | ||
+ | |- | ||
+ | | <tt>normal</tt> | ||
+ | | The content of archives store is available to users and can be modified if the user has the appropriate permission. | ||
+ | |- | ||
+ | | <tt>writeProtected</tt> | ||
+ | | The content of write protected archive stores is available to users, but cannot be modified (e.g. delete or move messages, rename or move folders) | ||
+ | |- | ||
+ | | <tt>disabled</tt> | ||
+ | | Disabled archive stores are not in use but the instance still knows about their existence. Therefore the content is not available to users. | ||
+ | |} | ||
== SetUserAuthentication == | == SetUserAuthentication == | ||
Line 1,701: | Line 751: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,712: | Line 758: | ||
| <tt>authentication</tt> | | <tt>authentication</tt> | ||
| string | | string | ||
− | | Authentication method. Either ' | + | | Authentication method. Either 'inegrated' or 'directoryServices'. |
|} | |} | ||
Line 1,723: | Line 769: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,745: | Line 787: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,767: | Line 805: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,789: | Line 823: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,811: | Line 841: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,833: | Line 859: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,855: | Line 877: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>userName</tt> | | <tt>userName</tt> | ||
Line 1,881: | Line 899: | ||
! width=120px | Type | ! width=120px | Type | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <tt>dryRun</tt> | | <tt>dryRun</tt> | ||
| bool (optional) | | bool (optional) | ||
| Simulate sync only. | | Simulate sync only. | ||
+ | |} | ||
+ | |||
+ | == UpgradeStore == | ||
+ | Upgrade archive store from MailStore Server 5 or older to current format. | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of archive store. | ||
+ | |} | ||
+ | |||
+ | == VerifyStore == | ||
+ | Verify archive stores consistency. | ||
+ | |||
+ | === Arguments === | ||
+ | {| class="wikitable" | ||
+ | ! width=150px | Name | ||
+ | ! width=120px | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | <tt>id</tt> | ||
+ | | number | ||
+ | | Unique ID of archive store. | ||
|} | |} |
Revision as of 13:56, 2 April 2015
AttachStore
Attach existing archive store.
Arguments
Name | Type | Description |
---|---|---|
name | string | Meaningful name of archive store. |
type | string (optional) | |
databaseName | string (optional) | Name of database on Microsoft SQL Server or PostgreSQL server. |
databasePath | string (optional) | Path to directory in which database folder information and email meta data are stored. |
contentPath | string (optional) | Path to directory in which email headers and contents are stored. |
indexPath | string (optional) | Path to directory in which full text search indexes are stored. |
serverName | string (optional) | Name of Microsoft SQL Server or PostgreSQL server. |
userName | string (optional) | User name for accessing Microsoft SQL Server or PostgreSQL server. |
password | string (optional) | Password for accessing Microsoft SQL Server or PostgreSQL server. |
requestedState | string (optional) | State of archive store after attaching. |
Argument Values
type
Name | Description |
---|---|
FileSystemStandard | Standard archive store. |
FileSystemAdvanced | Advanced file system-based archive store. |
SQLServer | Microsoft SQL Server-based arechive store. |
PostgreSQL | PostgreSQL server-based archive store. |
requestedState
Name | Description |
---|---|
current | Same as Normal but new messages will be archived in the archive store that is set to Current. |
normal | The content of archives store is available to users and can be modified if the user has the appropriate permission. |
writeProtected | The content of write protected archive stores is available to users, but cannot be modified (e.g. delete or move messages, rename or move folders) |
disabled | Disabled archive stores are not in use but the instance still knows about their existence. Therefore the content is not available to users. |
ClearUserPrivilegesOnFolders
Removes all privileges of a user on all archive folders.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
CompactMasterDatabase
Compact master database.
CompactStore
Compact archive store.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archive store |
CreateProfile
Create a new archiving or exporting profile.
Arguments
Name | Type | Description |
---|---|---|
properties | json | Profile properties. |
raw | bool | Currently only 'true' is supported. |
Argument Values
properties
To receive available profile properties create a profile of the desired type via MailStore Client and use the GetProfiles method to receive supported value.
CreateStore
Create and attach a new archive store.
Arguments
Name | Type | Description |
---|---|---|
name | string | Meaningful name of archive store. |
type | string (optional) | |
databaseName | string (optional) | Name of database on Microsoft SQL Server or PostgreSQL server. |
databasePath | string (optional) | Path to directory in which database folder information and email meta data are stored. |
contentPath | string (optional) | Path to directory in which email headers and contents are stored. |
indexPath | string (optional) | Path to directory in which full text search indexes are stored. |
serverName | string (optional) | Name of Microsoft SQL Server or PostgreSQL server. |
userName | string (optional) | User name for accessing Microsoft SQL Server or PostgreSQL server. |
password | string (optional) | Password for accessing Microsoft SQL Server or PostgreSQL server. |
requestedState | string (optional) | State of archive store after attaching. |
Argument Values
type
Name | Description |
---|---|
FileSystemStandard | Standard archive store. |
FileSystemAdvanced | Advanced file system-based archive store. |
SQLServer | Microsoft SQL Server-based arechive store. |
PostgreSQL | PostgreSQL server-based archive store. |
requestedState
Name | Description |
---|---|
current | Same as Normal but new messages will be archived in the archive store that is set to Current. |
normal | The content of archives store is available to users and can be modified if the user has the appropriate permission. |
writeProtected | The content of write protected archive stores is available to users, but cannot be modified (e.g. delete or move messages, rename or move folders) |
disabled | Disabled archive stores are not in use but the instance still knows about their existence. Therefore the content is not available to users. |
CreateUser
Create new MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of new MailStore user. |
privileges | string | Comma separated list of privileges. |
fullName | string (optional) | Full name of user. |
distinguishedName | string (optional) | LDAP DN string. |
authentication | string (optional) | Authentication setting for user: 'integrated or 'directoryServices'. |
password | string (optional) | Password of new user. |
DeleteEmptyFolders
Remove folders from folder tree that do not contain emails.
Arguments
Name | Type | Description |
---|---|---|
folder | string (optional) | Entry point in folder tree. |
DeleteMessage
Delete a single message
Arguments
Name | Type | Description |
---|---|---|
id | string (optional) | Unique ID of message. Format: <store_id>:<message_num> |
DeleteProfile
Delete an archiving or exporting profile.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of profile. |
DeleteUser
Delete a MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
DetachStore
Detach archive store
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archive store. |
GetActiveSessions
Get list of current user sessions.
GetChildFolders
Get child folders.
Arguments
Name | Type | Description |
---|---|---|
folder | string (optional) | Parent folder. |
maxLevels | number (optional) | Depth of child folders. |
GetComplianceConfiguration
Get current compliance configuration settings.
GetDirectoryServicesConfiguration
Get current Directory Services configuration settings.
GetFolderStatistics
Get folder statistics.
GetMessages
Get list of messages from a folder.
Arguments
Name | Type | Description |
---|---|---|
folder | string (optional) | Folder whose content to list. |
GetProfiles
Get list of archiving and exporting profiles.
Arguments
Name | Type | Description |
---|---|---|
raw | bool | Currently only 'true' is supported. |
GetServerInfo
Get MailStore Server version and machine name.
GetStoreIndexes
Get list of attachment file types to index.
Arguments
Name | Type | Description |
---|---|---|
id | number (optional) | Unique ID of archive store. |
GetStores
Get list of archive stores.
GetTimeZones
Get list of available time zones.
GetUserInfo
Get detailed information about user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user |
GetUsers
Get list of users.
GetWorkerResults
Get results of profile executions.
Arguments
Name | Type | Description |
---|---|---|
fromIncluding | string | Beginning of time range to fetch. |
toExcluding | string | End of time range to fetch. |
timeZoneID | string | Time zone in which timestamp should be returned. |
profileID | number (optional) | Filter results by given profile ID. |
userName | string (optional) | Filter results by given user name. |
MaintainFileSystemDatabases
Run database maintainance on all datbases of file system based archive stores.
MergeStore
Merge two archive stores.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of destination archive store. |
sourceId | number | Unique ID of source archive store. |
MoveFolder
Move folder.
Arguments
Name | Type | Description |
---|---|---|
fromFolder | string | Old folder name. |
toFolder | string | New folder name. |
RebuildStoreIndex
Rebuild search index for given archive folder.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archive store. |
folder | string | Name of folder name. |
RefreshAllStoreStatistics
Refresh statistics of all archive stores.
RenameStore
Rename archvive store
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archive store. |
name | string | New name of archive store. |
RenameUser
Rename a MailStore user.
Arguments
Name | Type | Description |
---|---|---|
oldUserName | string | Old user name. |
newUserName | string | New user name. |
RetryOpenStores
Retry opening stores that failed previously
RunProfile
Run an existing archiving or exporting profile.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique profile ID. |
RunTemporaryProfile
Run a temporary/non-existent profile.
Arguments
Name | Type | Description |
---|---|---|
properties | json | Profile properties. |
raw | bool | Currently only 'true' is supported. |
Argument Values
properties
To receive available profile properties create a profile of the desired type via MailStore Client and use the GetProfiles method to receive supported value.
SetComplianceConfiguration
Set compliance configuration settings.
Arguments
Name | Type | Description |
---|---|---|
config | json | Compliance configuration. |
Argument Values
config
Use GetComplianceConfiguration to receive supported value.
SetDirectoryServicesConfiguration
Set directory services configuration settings.
Arguments
Name | Type | Description |
---|---|---|
config | json | Directory services configuration. |
Argument Values
config
Use GetDirectoryServicesConfiguration to receive supported value.
SetStoreProperties
Set properties of archive store.
Arguments
Name | Type | Description |
---|---|---|
id | number | Set properties of archive store. |
type | string (optional) | |
databaseName | string (optional) | Name of database on Microsoft SQL Server or PostgreSQL server. |
databasePath | string (optional) | Path to directory in which database folder information and email meta data are stored. |
contentPath | string (optional) | Path to directory in which email headers and contents are stored. |
indexPath | string (optional) | Path to directory in which full text search indexes are stored. |
serverName | string (optional) | Name of Microsoft SQL Server or PostgreSQL server. |
userName | string (optional) | User name for accessing Microsoft SQL Server or PostgreSQL server. |
password | string (optional) | Password for accessing Microsoft SQL Server or PostgreSQL server. |
Argument Values
type
Name | Description |
---|---|
FileSystemStandard | Standard archive store. |
FileSystemAdvanced | Advanced file system-based archive store. |
SQLServer | Microsoft SQL Server-based arechive store. |
PostgreSQL | PostgreSQL server-based archive store. |
SetStoreRequestedState
Set state of archive store.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archvie store. |
requestedState | string (optional) | State of archive store after attaching. |
Argument Values
requestedState
Name | Description |
---|---|
current | Same as Normal but new messages will be archived in the archive store that is set to Current. |
normal | The content of archives store is available to users and can be modified if the user has the appropriate permission. |
writeProtected | The content of write protected archive stores is available to users, but cannot be modified (e.g. delete or move messages, rename or move folders) |
disabled | Disabled archive stores are not in use but the instance still knows about their existence. Therefore the content is not available to users. |
SetUserAuthentication
Set authentication settings of a MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
authentication | string | Authentication method. Either 'inegrated' or 'directoryServices'. |
SetUserDistinguishedName
Set the LDAP distinguished name of a MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
distinguishedName | string (optional) | LDAP DN string. |
SetUserEmailAddresses
Set email addresses of MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
emailAddresses | string (optional) | List of email addresses. |
SetUserFullName
Set full name of MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
fullName | string (optional) | Full name of MailStore user. |
SetUserPassword
Set password of MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
password | string | Password of MailStore user. |
SetUserPop3UserNames
Set POP3 user name of MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
pop3UserNames | string (optional) | Comma seperated list of POP3 user names. |
SetUserPrivileges
Set privileges of MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
privileges | string | Comma separated list of privileges. |
SetUserPrivilegesOnFolder
Set privileges on folder for MailStore user.
Arguments
Name | Type | Description |
---|---|---|
userName | string | User name of MailStore user. |
folder | string | Folder name. |
privileges | string | Comma separated list of folder privileges. |
SyncUsersWithDirectoryServices
Sync users of MailStore instance with directory services.
Arguments
Name | Type | Description |
---|---|---|
dryRun | bool (optional) | Simulate sync only. |
UpgradeStore
Upgrade archive store from MailStore Server 5 or older to current format.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archive store. |
VerifyStore
Verify archive stores consistency.
Arguments
Name | Type | Description |
---|---|---|
id | number | Unique ID of archive store. |