Click or drag to resize

MembershipProvidersServicesGetADQueryDefaults Method


Retrieves the default value of Active Directory Search parameters. These parameter values are to be passed in when query Active Directory

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<ADQueryDefaultsOutput> GetADQueryDefaults()

Return Value

Type: XHRServiceResponseGenericADQueryDefaultsOutput

Default Active Directory search parameter values

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "adSearchDefaults": {
            "GroupNameField": "sAMAccountName",
            "GroupUserField": "member",
            "Query": "(&(objectCategory=group))",
            "UserEmailField": "mail",
            "UserIDField": "sAMAccountName",
            "UserNameField": "displayName"
        }
    }
}
Remarks
The default value are constants and will not ever change. So it only needs to be called once.
See Also