The CreateGlobalAddressList method creates a Global Address List
(GAL) and applies permissions. To accomplish this, the method
performs the following steps:
Creates the global address list in the GAL container.
Sets the default purportedSearch attribute, if it is not
specified in the filter parameter.
The purportedSearch attribute is used by the Recipient Update
Service (RUS) to stamp the showInAddressBook attributes of users.
In a hosted environment, the domain RUS should be off, in which
case the purportedSearch attribute does not apply. However, the
purportedSearch attribute is still set in case the RUS is ever
turned on, so that filters and entries in the showInAddressBook
attribute still persist.
Grants the following permissions to the principals specified in
Open Address List
Sets the new address list as an otherWellKnownObjects attribute
on the organization, using the value:
Adds the new GAL to the globalAddressList attribute of the
Microsoft Exchange configuration container.
The Lightweight directory access protocol (LDAP) path of the
The name of address list. Default is RDN of the
The groups and users that have read access to the address list.
This is a multi-value parameter that can be specified as an LDAP
path, a DN, a UPN, or DOMAIN\SAMAccount, as shown in the following
The purportedSearch attribute of the address list. When using
the Filter parameter, be sure to properly escape the characters in
the XML. The escape characters for & are & including the
semicolon. For example: