<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008pcRaASAUOkta Classic EngineSingle Sign-OnAnswered2020-07-01T18:38:38.000Z2020-06-29T19:04:39.000Z2020-07-01T18:38:38.000Z

JamesW.95378 (Customer) asked a question.

What are the parameters to getFilteredGroups?

https://developer.okta.com/docs/reference/okta-expression-language/*group-functions gives an example of getFilteredGroups as getFilteredGroups({"00gml2xHE3RYRx7cM0g3"}, "group.name", 40) but does not tell me what that ID is, why it's in french brackets, whether group.name is a filter, substring, or exact match, nor to what 40 refers. It does tell me that an Array comes back, so that hints that group.name must not be an exact match of the group name or it would only return an Array of one element.

 

I'd like to get a list of our splunk groups from LDAP so I can make a SAML attribute assertion like:

 

getFilteredGroups(...something...).Groups.startsWith("splunk-role-").toCsvString.replace("splunk-role-", "").replace(",",";")

 

... but I'm not sure what incantation can be used there.

 


This question is closed.
Loading
What are the parameters to getFilteredGroups?