Does this method take care of searching on multi valued attributes?
public int countIdentitiesBySearchableIdentityAttribute(String attributeName, String operation, String value)
For example: If an identity has department : {Finance, HR, IT} where department attribute is multi valued, we want to check if there are identities with Finance as one of the values, does the above method give non zero results?
An Identity Attribute can’t be multivalue, you are talking about a single value concatenated like this: “value1, value2, value3”.
supported operations for method countIdentitiesBySearchableIdentityAttribute() are “StartsWith” or “Equals” and in your case “StartsWith” can help you to solve the problem.
This method needs the identity attribute to be searchable. How can I make an identity attribute searchable? search attribute creation API needs some source id as an input, what should be the id when working with identity attributes?