By: Andrey Ryvlin Account Admin 12 Oct 2020 at 3:11 p.m. CDT

3 Responses
Andrey Ryvlin gravatar
I am trying to implement User search by custom multi value attribute with Scim client. I tried to use Scim Client searchUsers method with query like this: "attributeName co attributeValue" where attributeName is pre-pended with the scema name. This search returns null. Please advise.

By Jeff Corrigan Account Admin 12 Oct 2020 at 3:20 p.m. CDT

Jeff Corrigan gravatar
For reference the new custom attribute does get listed in the scim schema discovery: ``` {"name":"someAttribute","type":"string","multiValued":true,"description":"someAttribute","required":false,"caseExact":false,"mutability":"readWrite","returned":"default","uniqueness":"none"} ```

By Jose Gonzalez staff 12 Oct 2020 at 3:56 p.m. CDT

Jose Gonzalez gravatar
Something like this should work: `"urn:ietf:params:scim:schemas:extension:gluu:2.0:User:someAttribute eq \"foobar\""` `co` operator should work too but it is more "substring-like" search

By Andrey Ryvlin Account Admin 12 Oct 2020 at 4:02 p.m. CDT

Andrey Ryvlin gravatar
that works. Thanks!