PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The ActiveDirectory property allows you to connect to an HFSQL server with authentication through Active Directory. You can:
  • Find out whether the connection is using the authentication via Active Directory.
  • Define whether the connection is using the authentication via Active Directory.
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

Finding out whether the connection is using the authentication via Active Directory Hide the details

<Result> = <Connection>.ActiveDirectory
<Result>: Boolean
  • True if the connection is using the authentication via Active Directory,
  • False otherwise.
<Connection>: Character string (with or without quotes) or Connection variable
Name of connection used. This name was defined:

Defining whether the connection is using the authentication via Active Directory Hide the details

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