ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Group functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a group of contacts in a Lotus Notes or Outlook address book. The Group structure is used to define the data for this group of contacts.
Attention This function does not add a group of contacts to the address book of an Outlook Express mailbox.
Example
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
		"mail\julie.nsf", "C:\Users\Julie\AppData\Local\Lotus\Notes\Data\user.id")
// Initialisation des variables de la structure Groupe
GroupReset()
// Renseignements des variables pour le nouveau groupe
mGroup.Name = "Mes amis"
mGroup.Description = "Groupe de mes amis"
mGroup.NbContact = 3
mGroup.Contact[1] = "Pierre"
mGroup.Contact[2] = "Paul"
mGroup.Contact[3] = "Jacques"
// Ajout du groupe
IF GroupAdd(IDSession) = True THEN
	Info("Groupe de contacts ajouté")
ELSE
	Error("Erreur lors de l'ajout", ErrorInfo())
END
Syntax
<Result> = GroupAdd(<Session identifier>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This ID is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks
The groups of contacts are not supported by Outlook 97. Therefore, no group of contacts can be added in this version of Outlook.
Component: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help