HrEnumOrganizations
The HrEnumOrganizations function lists the names of the organizations on the server.
Quick Info
Header file: |
EXCHINST.H |
Library: |
EXCHINST.LIB |
HRESULT HrEnumOrganizations(
LPSTR lpszRootDN,
LPSTR lpszServer,
LPSTR * lppszOrganizations
);
Parameters
-
lpszRootDN
-
Input parameter. Points to a null-terminated string containing the distinguished name (DN) of the directory information tree (DIT) root.
-
lpszServer
-
Input parameter. Points to a null-terminated string containing the name of the server.
-
lppszOrganizations
-
Output parameter. Points to a pointer to an array of strings (terminated by a NULL entry) containing the names of the organizations in this DIT.
Return Values
See Return Values.
See Also
HrEnumContainers, HrEnumSites