ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to gglAuthor variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
gglAuthor (Variable type)
In french: gglAuteur
The gglAuthor type is used to identify the author of a Google element. This information is read-only: it is entered by Google at creation (based on login details) and cannot be modified.
This type of variable is used by:
Remarks:
  • In most cases, the declaration of a gglAuthor variable is not required. The properties of the gglCalendar or gglEvent type allow you to directly handle the properties of the gglAuthor type (especially the Author property).
  • 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ération du tableau des agendas disponibles
tabAgendas is array of gglCalendar
tabAgendas = GglListCalendar(Cnx)

// Récupération des événements du premier agenda
GglFillCalendar(Cnx, tabAgendas[1])

// Cas 1 : Utilisation directe du nom de l'auteur
Trace("Auteur de l'agenda : " + tabAgendas[1].Author.Name)

// Cas 2 : Utilisation en passant par une variable de type gglAuteur
AuteurAgenda is gglAuthor
AuteurAgenda = tabAgendas[1].Author
Trace("Auteur de l'agenda : " + AuteurAgenda.Name)
Properties

Properties specific to gglAuthor variables

The following properties can be used to define the characteristics of gglAuthor variables:
Property nameType used Effect
EmailCharacter stringEmail of the author. This property corresponds to the email of the user who created the element (name used in the connection information).
This property is read-only.
NameCharacter stringName of the author. This property corresponds to the name of the user who created the element (name used in the connection information).
This property is read-only.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help