ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Contacts
  • 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
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 = GglListContactGroup(Cnt)
// 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> = GglListContactGroup(<Google connection> , <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 GglConnect.
<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> = GglListContactGroup(<Google connection>)
<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 GglConnect.
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: wd290ggl.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help