<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
Okta Expression Language for Group Rule (Fetching Groups Ending with *name)
Okta Classic Engine
Okta Identity Engine
Lifecycle Management
Overview

How to apply Okta Expression Language to create a group rule that would pick up groups that end with a specific name (*.name).

Applies To
  • Group Rules
  • Regex
  • Okta Expression Language
Solution

Within Group Rules, Regex can be used to achieve the desired outcome. This will pick up all the groups that end with the word "name".
 

isMemberOfGroupNameRegex(".*name$*") 

 


 

NOTE: isMemberOfGroupNameRegex group functions are designed to retrieve only an Okta user's group memberships. Do not use them to retrieve an app user's group memberships. Using App groups is not supported for this Regex. For more details, review the documentation below.

Related References

 

 

Loading
Okta Expression Language for Group Rule (Fetching Groups Ending with *name)