GetDomainDetails

This method is used to get Domain details of logged in user’s organization.

Method Signature:

GetDomainDetails(controlId, async, callback)

Sample Response:

 [{"Id":3,"DomainEntityID":"DMN-E65B0B4A-E662-4274-935B-F05517A494F4","DisplayName":"Domain1","LDAPURL":"",
"DNSIP":"","AlternateDNSIP":"","PrimaryWINS":"","SecondaryWINS":"","NetBIOSName":"","Domain":"INV","UserName":"INV","Password":"AdGRkyq0wZX1xMEMSxj4DA==","IsActive":"Y","OUName":"",
"CustomField1":"","CustomField2":"","CustomField3":"","CustomField4":"","CustomField5":"","OrgEntityID":"ORG-29A1B191-7720-44D8-9302-4F89DAC9C896",
"IsApplicableforlogin":"N","ConfiguredADUser":null,"IsADSync":"Y","IsUsedforDomainJoin":"Y"}]

Parameter Details:

Table 1. GetDomainDetail
Parameter Name Type Mandatory Description
controlId String N

Id of “Select control” to be populated.

If Id is passed, then control will be populated else “Result set” will be returned in JSON format.

async Boolean N

In case it’s False:

Function will be called in synchronous mode. i.e., Current execution will wait for method execution to complete

In case it’s True:

Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement.

Callback Function N User can pass function name that can get executed on completion of Parent function call.