ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / User Groupware functions
  • Handling errors
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
Allows you to connect to the User Groupware using authentication with an account such as Facebook, Google, Microsoft, etc.
Example
WEBDEV - Server code
Identity is OpenIDIdentity = gpwAuthLogin(gpwFacebook)
Syntax
WEBDEV - Server code
<Result> = gpwAuthLogin(<Type> [, <Subscript>])
<Result>: OpenIDIdentity variable
OpenIDIdentity variable that contains the user information.
<Type>: Integer constant
Type of login that allows for authentication:
gpwConnectionStandard login with a user that has been created and registered.
gpwFacebookLogin with a Facebook account.
gpwGoogleLogin with a Google account.
gpwMicrosoftLogin with a Microsoft MSN account.
gpwSalesforceLogin with a Salesforce account.
gpwYahooLogin with a Yahoo account.
<Subscript>: Optional integer
Index of the custom connection when adding it with gpwAddAuthLogin. To use this parameter, <Type> must correspond to the constant gpwConnection.
Remark: The login information has been described and added via gpwAddAuthLogin.
Remarks

Handling errors

If a login error occurs, the ErrorOccurred variable is set to True. The error can be known via ErrorInfo.
Business / UI classification: Neutral code
Component: wd290gpu.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help