PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
  • Possible error cases:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<gglConnection variable>.ListContactGroup (Function)
In french: <Variable gglConnexion>.ListeGroupeContact
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 gglConnection variable to use. This connection was validated by GglConnect.
Versions 20 and later
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
New in version 20
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
<Contact>: gglContact variable
Name of the gglContact variable whose associated groups are sought.

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 use. This connection was validated by GglConnect.
Versions 20 and later
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
New in version 20
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
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 : wd240ggl.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment