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
cnt_sso is Connection
cnt_sso.Provider = hAccessHFClientServer
cnt_sso.Server = "srv1.mydomain.com"
cnt_sso.ActiveDirectory = True
HOpenConnection(cnt_sso)
// Force the use of another domain account
cnt is Connection
cnt.Provider = hAccessHFClientServer
cnt.Server = "srv1.mydomain.com"
cnt.ActiveDirectory = True
cnt.User = "Account_name@mydomain.com"
cnt.Password = "xxxxxx"
HOpenConnection(cnt)
Syntax

Find out if the connection uses Active Directory authentication Hide the details

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

Define whether the connection uses Active Directory authentication Hide the details

<Connection>.ActiveDirectory = <Active Directory Management>
<Connection>: 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: 12/06/2024

Send a report | Local help