The following diagrams show export locations for different settings of the pszBasePoint and pszContainer members of BEXPORT_PARMS, combined with various export flags used in a call to the BatchExport function.
For example, click Export Case 1 to see the export point if pszBasePoint is set to /o=Organization/ou=Site, pszContainer is set to Recipients 1 (a recipients container), and the DAPI_EXPORT_RECIPIENTS flag is set. As indicated in the diagram, this configuration causes BatchExport to export only two users — User 11 and User 12.
BatchExport Example Cases
Export Points | Value of pszBasePoint | Value of pszContainer | Flags Set |
---|---|---|---|
Export Case 1 | /o=Organization /ou=Site |
Recipients 1 | DAPI_EXPORT_ RECIPIENTS |
Export Case 2 | /o=Organization /ou=Site |
Recipients 1 | DAPI_EXPORT_ ALL_CLASSES |
Export Case 3 | /o=Organization /ou=Site |
Recipients 1 | DAPI_EXPORT_ SUBTREE and DAPI_EXPORT_ RECIPIENTS |
Export Case 4 | /o=Organization /ou=Site |
Recipients 1 | DAPI_EXPORT_ SUBTREE and DAPI_EXPORT_ ALL_CLASSES |
Export Case 5 | /o=Organization /ou=Site /cn=Recipients 1 |
any value | DAPI_EXPORT_ BASEPOINT_ONLY |
Export Case 6 | /o=Organization /ou=Site |
NULL | DAPI_EXPORT_ ALL_CLASSES |
Export Case 7 | /o=Organization /ou=Site |
any value | DAPI_EXPORT_ BASEPOINT_ONLY |
Export Case 8 | /o=Organization /ou=Site |
NULL | DAPI_EXPORT_ SUBTREE and DAPI_EXPORT_ RECIPIENTS |
Export Case 9 | /o=Organization /ou=Site |
NULL | DAPI_EXPORT_ SUBTREE and DAPI_EXPORT_ ALL_CLASSES |
Export Case 10 | "" | NULL | DAPI_EXPORT_ SUBTREE and DAPI_EXPORT_ ALL_CLASSES |