PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of gglContactGroup variables
  • Functions that use the gglContactGroup variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
gglContactGroup (Type of variable)
In french: gglContactGroup
The gglContactGroup type is used to describe and modify a group of contacts used by the Google Contacts service.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion à Google
Cnx is gglConnection
Cnx.Email = "balthazar@gmail.com"
Cnx.Password = "azerty"
Cnx.ApplicationName = "MonAppli-01"
IF GglConnect(Cnx) = False THEN
Error(ErrorInfo())
END
...
 
// Récupère les groupes de contacts
tabGroupes is array of gglContactGroup
tabGroupes = GglListContactGroup(Cnx)
 
// Parcours des groupes
Grp is gglContactGroup dynamic
FOR EACH Grp OF tabGroupes
Trace(Grp.Name)
END
// Création d'un groupe de contacts
Cnx is gglConnection
Cnx.Email = "MonAdresse@gmail.com"
Cnx.Password = "MotdePasseAdresseGmail"
Cnx.ApplicationName = ""
grpGoogle is gglContactGroup
 
IF GglConnect(Cnx) = False THEN
Error(ErrorInfo())
ELSE
// Ajout du groupe
grpGoogle.Name = "Mon Nouveau Groupe"
IF NOT GglWrite(Cnx, grpGoogle) THEN
Error(ErrorInfo())
END
END
Remarks

Properties specific to the description of gglContactGroup variables

The following properties can be used to handle a gglContactGroup variable:
NameType usedEffect
UpdateDateDateTimeDate of the last update. This information is read-only.
Remark: The date is a UTC date (in universal time).
IdentifierCharacter stringIdentifier of the group. This information is read-only.
NameCharacter stringName of the group.

Functions that use the gglContactGroup variables

Versions 14 and later
GglDelete
New in version 14
GglDelete
GglDelete
Deletes data from the Google server.
Versions 14 and later
GglListContactGroup
New in version 14
GglListContactGroup
GglListContactGroup
Retrieves the list of groups of contacts associated with the specified Google account.
Versions 14 and later
GglWrite
New in version 14
GglWrite
GglWrite
Creates and/or updates data on the Google server (addition or modification of data).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment