| Overview | Service | Command |
| Authorization token required | true |
| Admin Authorization token required | false |
Notes:
| shared with the account directly | |
| shared with any group(and parent groups) the account belongs. | (*is* supported) |
| shared with the cos assigned to the account. | (*is* supported) |
| shared with the domain this account is in. | (*is* supported) |
| shared with all authed users (i.e. all Zimbra users) | (*is* supported) |
| shared with the public | (*is* supported) |
<GetShareInfoRequest>
<grantee type="grp">
</GetShareInfoRequest>
<GetShareInfoRequest>
<grantee type="grp">
<owner by="name">user1@example.com</owner>
</GetShareInfoRequest>
<GetShareInfoRequest>
<owner by="name">user1@example.com</owner>
</GetShareInfoRequest>
<GetShareInfoRequest>
<grantee type="usr">
<owner by="name">user1@example.com</owner>
</GetShareInfoRequest>
<GetShareInfoRequest>
</GetShareInfoRequest>
<GetShareInfoRequest [internal="(0|1)"] [includeSelf="(0|1)"]> ## GetShareInfoRequest
<grantee [type="{grantee-type}"] [id="{grantee-id}"] [name="{grantee-name}"] /> ## GranteeChooser
<owner by="{acct-selector-by} (adminName | appAdminName | id | foreignPrincipal | name | krb5Principal)">{key}</owner> ## AccountSelector
</GetShareInfoRequest>
elements and attributes you can define within a
<GetShareInfoRequest> element:
| XPath | Required / Optional | Description |
| @internal | Optional (0 or 1) | Type: 0|1 Flags that have been proxied to this server because the specified "owner account" is homed here. Do not proxy in this case. (Used internally by ZCS) |
| @includeSelf | Optional (0 or 1) | Type: 0|1 Flag whether own shares should be included:
|
| /grantee | Optional (0 or 1) | Filter by the specified grantee type |
| /grantee@type | Optional (0 or 1) | Type: String If specified, filters the result by the specified grantee type. |
| /grantee@id | Optional (0 or 1) | Type: String If specified, filters the result by the specified grantee ID. |
| /grantee@name | Optional (0 or 1) | Type: String If specified, filters the result by the specified grantee name. |
| /owner | Optional (0 or 1) | Type: {key} Specifies the owner of the share Description for element text content:The key used to identify the account. Meaning determined by {acct-selector-by} |
| /owner@by | Required (only 1) | Type: adminName | appAdminName | id | foreignPrincipal | name | krb5Principal Select the meaning of {acct-selector-key} |
<GetShareInfoResponse> ## GetShareInfoResponse
(<share ownerId="{share-owner-id}" ownerEmail="{share-owner-email}" ownerName="{share-owner-display-name}"
folderId="{share-folder-id} (int)" folderUuid="{share-folder-uuid}"
folderPath="{share-fully-qualified-path}" view="{share-default-view}" rights="{share-rights}"
granteeType="{grantee-type}" granteeId="{grantee-id}" granteeName="{grantee-name}"
granteeDisplayName="{grantee-display-name}" [mid="{mountpoint-id}"] /> ## ShareInfo)*
</GetShareInfoResponse>
elements and attributes you can define within a
<GetShareInfoResponse> element:
| XPath | Required / Optional | Description |
| /share | Optional (0 or more) | Shares |
| /share@ownerId | Required (only 1) | Type: String Owner ID |
| /share@ownerEmail | Required (only 1) | Type: String Owner email |
| /share@ownerName | Required (only 1) | Type: String Owner display name |
| /share@folderId | Required (only 1) | Type: int Folder ID |
| /share@folderUuid | Required (only 1) | Type: String Folder UUID |
| /share@folderPath | Required (only 1) | Type: String Fully qualified path |
| /share@view | Required (only 1) | Type: String Default type |
| /share@rights | Required (only 1) | Type: String Rights |
| /share@granteeType | Required (only 1) | Type: String Grantee type |
| /share@granteeId | Required (only 1) | Type: String Grantee ID |
| /share@granteeName | Required (only 1) | Type: String Grantee name |
| /share@granteeDisplayName | Required (only 1) | Type: String Grantee display name |
| /share@mid | Optional (0 or 1) | Type: String Returned if the share is already mounted. Contains the folder id of the mountpoint in the local mailbox. |