PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Possible error cases:
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
<gglConnection variable>.ListContactGroup (Function)
In french: <Variable gglConnexion>.ListeGroupeContact
AjaxNot available
Warning
Since June 15, 2021, the Google Contacts API used by this feature is no longer available (https://developers.google.com/contacts/v3/announcement).
To use Google contacts, refer to the People API published by Google as a replacement : https://developers.google.com/people. RESTSend allows you to easily integrate a REST API in your development projects.
Retrieves the list of groups of contacts associated with the specified Google account.
Example
// Connection
Cnt is gglConnection
...
// Retrieves the groups of contacts
arrGroups is array of gglContactGroup
arrGroups = Cnt.ListContactGroup()
// Browse the groups
Grp is dynamic gglContactGroup
FOR EACH Grp OF arrGroups
Trace(Grp.Name)
END
Syntax

Retrieving the groups of a contact Hide the details

<Result> = <Google connection>.ListContactGroup(<Contact>)
<Result>: Array of gglContactGroup variables
Array of gglContactGroup variables.
<Google connection>: gglConnection variable
Name of the gglConnection variable to be used. This connection was validated by <gglConnection variable>.Connect.
<Contact>: gglContact variable
Name of the gglContact variable whose associated groups are to be found.

Retrieving the groups of the connection Hide the details

<Result> = <Google connection>.ListContactGroup()
<Result>: Array of gglContactGroup variables
Array of gglContactGroup variables.
<Google connection>: Control name
Name of the gglConnection variable to be used. This connection was validated by <gglConnection variable>.Connect.
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
Component: wd270ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment