Platform SDK: Exchange Server

HrEnumSiteAdmins

The HrEnumSiteAdmins function lists the administrators for a site.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrEnumSiteAdmins(
  LPSTR lpszServer,   
  LPSTR lpszSiteDN,   
  LPSTR * lppszAdmins 
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string containing the name of the server.
lpszSiteDN
Input parameter. Points to a null-terminated string containing the distinguished name of the site.
lppszAdmins
Output parameter. Points to a pointer to an array of strings (terminated by a NULL entry) containing the administrators for the site.

Return Values

See Return Values.

See Also

HrEnumSites