HrEnumSites

The HrEnumSites function lists all of the sites in an organization.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrEnumSites(
  LPSTR lpszServer,          
  LPSTR lpszOrganizationDN,  
  LPSTR * lppszSites         
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string containing the name of the server.
lpszOrganizationDN
Input parameter. Points to a null-terminated string containing the distinguished name of the organization.
lppszSites
Output parameter. Points to a pointer to an array of strings (terminated by a NULL entry) containing the sites within the organization.

Return Values

See Return Values.

Remarks

The HrEnumSites function lists all of the sites in an organization, not just the sites to which the server belongs.

See Also

HrEnumOrganizations, HrEnumSiteAdmins