Platform SDK: Exchange Server |
The HrGetMailboxDN function retrieves the distinguished names (DNs) for a server and mailbox.
Header file: | EDKUTILS.H |
Library: | EDKUTILS.LIB |
HRESULT HrGetMailboxDN( LPSTR pszServer, LPSTR pszMailbox, LPSTR * ppszServerDN, LPSTR * ppszMailboxDN );
See Return Values.
The completed output strings appears as follows:
/O=Organization/OU=Site/CN=Servers/CN=ServerName/CN=NULL /O=Organization/OU=Site/CN=Recipients/CN=MailboxName
For more information on distinguished names (DNs), see Viewing the Contents of Mailboxes with MBLSAMPL.