Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Queries Active Directory information.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SystemInfo LDAP 9.3 No Yes No No No
MBS( "SystemInfo.ADSystemInfo" )   More




Returns JSON or error.


Queries Active Directory information.
This call may take a second if a query needs to be sent to server.
Returns JSON with details including UserName, ComputerName, SiteName, DomainShortName, DomainDNSName, ForestDNSName, PDCRoleOwner, SchemaRoleOwner, IsNativeMode, DCNam and DCSiteName.
The result is an empty JSON object in case of no Active Directory in use.


Query Active Directory details on Windows:

MBS( "SystemInfo.ADSystemInfo" )

Example result:
"UserName": "CN=John Doe,OU=2SH User,DC=2SXXX,DC=2S",
"ComputerName": "CN=2SMBP16W10,CN=Computers,DC=2SXXX,DC=2S",
"SiteName": "Default-First-Site-Name",
"DomainShortName": "2SXXX",
"DomainDNSName": "2SXXX.2S",
"ForestDNSName": "2SXXX.2S",
"PDCRoleOwner": "CN=NTDS Settings,CN=2SDCERP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=2SXXX,DC=2S",
"SchemaRoleOwner": "CN=NTDS Settings,CN=2SDCERP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=2SXXX,DC=2S",
"IsNativeMode": true,
"DCSiteName": "Default-First-Site-Name"

See also

Blog Entries

Release notes

Created 4th June 2019, last changed 18th October 2019

System.Sleep   -   SystemInfo.AvailableRAM

Feedback: Report problem or ask question.

MBS Xojo Plugins