PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 (Type de variable)
The gglAuthor type is used to find out 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:
Notes:
  • In most cases, the declaration of a gglAuthor variable is not required. Indeed, the properties of the gglCalendar, gglEvent or gglComment type allow you to directly handle the properties of the gglAuthor type (especially the ..Author property).
  • See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
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:
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.
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.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment