ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The ActiveDirectory property allows you to connect to an HFSQL server using Active Directory authentication. It is possible to:
  • Determine if the connection uses Active Directory authentication.
  • Define if the connection will use Active Directory authentication.
Note: The connection can correspond:
Example
cnx_sso is Connection
cnx_sso.Provider = hAccessHFClientServer
cnx_sso.Server = "srv1.mondomaine.com"
cnx_sso.ActiveDirectory = True
HOpenConnection(cnx_sso)
// Forcer l'utilisation d'un autre compte de domaine
cnx is Connection
cnx.Provider = hAccessHFClientServer
cnx.Server = "srv1.mondomaine.com"
cnx.ActiveDirectory = True
cnx.User = "Nom_compte@mondomaine.com"
cnx.MotDePasse = "xxxxxx"
HOpenConnection(cnx)
Syntax

Determine if the connection uses Active Directory authentication Hide the details

<Result> = <Authentication>.ActiveDirectory
<Result>: Boolean
  • True if the connection uses Active Directory authentication,
  • False otherwise.
<Authentication>: Character string or Connection variable
Name of the connection used. This name is defined:

Define if the connection will use Active Directory authentication Hide the details

<Authentication>.ActiveDirectory = <Active Directory Management>
<Authentication>: Character string or Connection variable
Name of the connection used. This name is defined:
<Active Directory Management>: Boolean
  • True if the connection uses Active Directory authentication,
  • False otherwise.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/08/2025

Send a report | Local help