Address Book Routines

include\addr_lib.asp

The following address book processing utility routines are defined in this file:

  • GetAddresses
    This function returns a Recordset object of address information for either a user or an organization, based on the value of the sAddrParentID parameter.
  • GetAddressType
    This function returns the address type from the request variable ADDRESS_TYPE.
  • GetOrganizationAddresses
    This function serves as a wrapper function to the GetAddresses function, passing the sOrgID parameter to retrieve the corresponding address as a Recordset object.
  • GetUserAddresses
    This function retrieves the address for a user. It calls the more generic GetAddresses function to retrieve and return the required address as a Recordset object.
  • IsZipCodeValid
    This function determines whether the basic format of the zip code specified by the sZipCode parameter is correct, returning True if so, and False otherwise. For additional information, see the Remarks.
  • LookupRegion
    This function returns the region name associated with the passed parameters. The sRegion parameter might specify a region name, in which case that name is returned, or it might specify a region code, in which case the corresponding region name is returned. If the region name cannot be determined, Null is returned.

Copyright © 2005 Microsoft Corporation.
All rights reserved.