ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
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
The ActiveDirectory property allows you to connect to an HFSQL server using Active Directory authentication. You can:
  • Determine if the connection uses Active Directory authentication.
  • Define if the connection will use Active Directory authentication.
Remark: The connection can correspond to:
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

Determining 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:

Defining if 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: 09/16/2022

Send a report | Local help