ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to the description of gglAuthor variables
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
gglAuthor (Type of variable)
In french: gglAuteur
The gglAuthor type is used to identify the author of a Google element. This information is available in read-only: it is specified by Google during the creation (according to the connection information) and it 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
// 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
...
 
// Retrieve the array of available calendars
arrCalendars is array of gglCalendar
arrCalendars = GglListCalendar(Cnt)
 
// Retrieve the events of the first calendar
GglFillCalendar(Cnt, arrCalendars[1])
 
// Case 1: Direct use of the name of the author
Trace("Author of the calendar: "+ arrCalendars[1].Author.Name)
 
// Case 2: Use by passing a gglAuthor variable
CalendarAuthor is gglAuthor
CalendarAuthor = arrCalendars[1].Author
Trace("Author of the calendar: " + CalendarAuthor.Name)
Remarks

Properties specific to the description of gglAuthor variables

The following properties can be used to handle a gglAuthor variable:
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: 08/24/2022

Send a report | Local help