ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / User Groupware functions
  • Handling errors
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Allows you to log in to the User Groupware using an account such as Facebook, Google, Microsoft, etc.
Example
WEBDEV - Server code
Identité is OpenIDIdentity = gpwAuthLogin(gpwFacebook)
Syntax
WEBDEV - Server code
<Result> = gpwAuthLogin(<Type> [, <Index>])
<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.
<Index>: Optional integer
Index of the custom connection when adding it with gpwAddAuthLogin. To use this parameter, <Type> must correspond to the gpwConnection constant.
Note: Connection information has been described and added using the gpwAddAuthLogin function.
Remarks

Handling errors

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

Last update: 03/27/2025

Send a report | Local help