AddLdapQueryAsync

Returns (Task)

Create new Ldap Query in the designated Folder.

Name Description
folder The folder to create the LDAP query in
item The LDAP query information to create

Add Ldap Query Async

Example in C#

// Returns: LdapQueryInfo
var ldapQueryInfo = await client.AddLdapQueryAsync(FolderInfo folder, LdapQueryInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/ldapqueries \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.LdapQueryInfo, Feenics.Keep.WebApi.Model",
                       "HostName":null,
                       "BindPath":null,
                       "Port":0,
                       "UseSsl":false,
                       "UserName":null,
                       "Password":null,
                       "Frequency":0,
                       "Query":null,
                       "PersonFieldsMapping":null,
                       "LastSyncTime":null,
                       "LastUsnChanged":null,
                       "DirSync":null,
                       "PreserveCards":null,
                       "Disabled":null,
                       "Key":null,
                       "CommonName":"QueryExampleFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'