PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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 manage an Connection with authentication to an HFSQL server by 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
cnx_sso.Provider = hAccessHFClientServer
cnx_sso.Server = "srv1.worlddomain.com"
cnx_sso.ActiveDirectory = True
HOpenConnection(cnt_sso)
// Force the use of another domain account
cnt is Connection
cnx.Provider = hAccessHFClientServer
cnx.Server = "srv1.worlddomain.com"
cnx.ActiveDirectory = True
cnx.User = "Nom_compte@mondomaine.com"
cnx.MotDePasse = "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