12-11-2014 06:40 AM
The Web GUI allows me to search for "contains", "matches" and "begins with".
Matches seems to map to "is", begins with is "beginswith", but what is contains?
01-26-2015 11:14 AM
Hi Stephen,
Perhaps "matches" is an exact match, but "contains" is a match where the value can anywhere in the string.
Where in the web GUI do you see this? I could not find an example of "matches".
Thanks,
Adrienne
01-26-2015 12:08 PM
No idea how I got to "matches"... the dropdown in the unity admin interface lists "Begins With", "Contains" and "Is Exactly"
So I guess I meant "Is Exactly".
03-06-2015 01:26 AM
So.. what is "contains" then in the api?
03-06-2015 10:34 AM
Contains means the string can be found at any place in the value.
For example, let's assume these are all of the aliases for an end user in the database: sue, joe, suesmith, suejoesmith, and smithjoe.
If you search for an end user where alias contains joe, then your search results will provide the aliases joe, suejoesmith and smithjoe. It's similar to using a wildcard (*) like this: *joe*
Thanks,
Adrienne
03-06-2015 10:39 AM
And whats the syntax I send to the api? Can you show me the full URI you'd make to get a list of ldap users whose alias contain 'joe'?
Here's the Syntax I use to get ldap users whose alias starts with Joe:
query=(alias startswith joe)
This is if I want the user whose alias is 'Joe':
query=(alias is joe)
And now, what do I write instead of 'startswith' and 'is' if I want to have all users whose alias contains Joe?
03-10-2015 03:43 PM
I have verified there is no "contains" query available in the API. It is only available through the UI.
03-30-2017 12:54 PM
Does anyone know if "contains" has been added to the API?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: