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()
Public Function GetADQueryDefaults As XHRServiceResponseGeneric(Of ADQueryDefaultsOutput)
public:
virtual XHRServiceResponseGeneric<ADQueryDefaultsOutput^>^ GetADQueryDefaults() sealed
abstract GetADQueryDefaults : unit -> XHRServiceResponseGeneric<ADQueryDefaultsOutput>
override GetADQueryDefaults : unit -> XHRServiceResponseGeneric<ADQueryDefaultsOutput>
Return Value
Type:
XHRServiceResponseGenericADQueryDefaultsOutputDefault Active Directory search parameter values
Examples
Sample JSON return
{
"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