Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project Free Downloads
WABAccess Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

Add Method (Members)


The Add method create a new member of a distribution list.

Syntax :

objMembers.Add( Identifier [, createFlag] )

Applies To : Members

Parameters :
Name Type In / Out Required / Optional Description
Identifier String In Required It is the PR_ENTRYID of the contact or the distribution list you want to add. You can get this information by the ID property of the contact or the distribution list.
createFlag enumCreateFlag In Optional Value of type enumCreateFlag specifying the bitmask that controls the level of duplicate entries. The following flags may be set:
  • createNoCheck (default) : Indicates no check is made for duplicate entry
  • createCheckDupLoose : Indicates a loose level should be used for duplicate entry checking, which returns more matches than setting a strict level with the createCheckDupStrict flag. For example, a provider can define a loose match as any two entries having the same display name, while defining a strict match as any two entries having the same display name and messaging address.
  • createCheckDupStrict : Indicates a strict level should be used for duplicate entry checking, which returns fewer matches than setting a loose level with the createCheckDupLoose flag.
  • createReplace : Indicates that duplicate entries replace existing entries within a container.
Return Value :

None.

Details :

If you want to add a contact without adding it to the WAB you must use the method NewOneOff.

Example :
Dim objMyDl, objMyContact

objMyDl.Members.Add objMyContact.ID

WABAccess