PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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).
  • See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
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 available in read-only mode.
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 available in read-only mode.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment