|
|
|
|
- Properties specific to gglContactGroup variables
- Functions that use gglContactGroup variables
gglContactGroup (Type of variable) In french: gglGroupeContact
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.
// Connection to Google Cnt is gglConnection Cnt.Email = "balthazar@gmail.com" Cnt.Password = "qwerty" Cnt.ApplicationName = "MyApp-01" IF GglConnect(Cnt) = False THEN Error(ErrorInfo()) END ... // 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
// Create a group of contacts Cnt is gglConnection Cnt.Email = "MyAddress@gmail.com" Cnt.Password = "GmailAddressPassword" Cnt.ApplicationName = "" grpGoogle is gglContactGroup IF GglConnect(Cnt) = False THEN Error(ErrorInfo()) ELSE // Add the group grpGoogle.Name = "My New Group" IF NOT GglWrite(Cnt, grpGoogle) THEN Error(ErrorInfo()) END END
Remarks Properties specific to gglContactGroup variables The following properties can be used to handle a gglContactGroup variable: | | | Name | Type used | Effect |
---|
UpdateDate | DateTime | Date of the last update. This information is read-only. Remark: The date is a UTC date (in universal time). | Identifier | Character string | Group identifier. This information is read-only. | Name | Character string | Name of the group. |
Functions that use gglContactGroup variables | | GglDelete | Deletes data from the Google server. | GglListContactGroup | Retrieves the list of groups of contacts associated with the specified Google account. | GglWrite | Creates and/or updates data on the Google server (addition or modification of data). |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|