PingOne

Dynamic group examples

You can use a custom filter to define dynamic internal groups, as in the following examples.

This topic is not applicable to external group membership. External group membership is managed through the source from which the group originates.

Example 1

Filter with a simple Any. Include users from the following country codes:

  • Country Code Equals US

  • Country Code Equals CA

Screen capture of the Create Dynamic Group page showing a filter Any with the Attribute of Country Code.

Example 2

Filter with a simple Any using UUIDs. Include users from the following populations:

  • Population ID Equals 10000000-0000-0000-0000-000000000001

  • Population ID Equals 20000000-0000-0000-0000-000000000001

Screen capture of the Create Dynamic Group page showing a filter Any with the Attribute Population ID.

Example 3

Filter with an Any and All. Include enabled users from the following populations:

  • Population ID Equals 10000000-0000-0000-0000-000000000001

  • Population ID Equals 20000000-0000-0000-0000-000000000001

  • Enabled Equals True

Screen capture of the Create Dynamic Group page showing a filter of Any and All with the Attributes Population ID and Enabled.

Example 4

Filter with an All and several Any. Include users from either of two populations in Canada, as well as a user with a particular email address.

  • Population ID Equals 10000000-0000-0000-0000-000000000001

  • Country Code Equals CA

  • Population ID Equals 20000000-0000-0000-0000-000000000001

  • Country Code Equals CA

  • Email Address Equals admin@example.com

Screen Capture of the Create a Dynamic Group page showing a filter of Any and All with the Attributes Population ID, Country Code and Email Address.

Example 5

Filter with an All and several Any. All users from either of two populations that are in the US and also in the Sales department, as well as a user with a particular email address. Note that the Department attribute is a custom attribute.

  • Population ID Equals 10000000-0000-0000-0000-000000000001

  • Country Code Equals US

  • Department Equals Sales

  • Population ID Equals 20000000-0000-0000-0000-000000000001

  • Country Code Equals US

  • Department Equals Sales

  • Email Address Equals admin@example.com

A Screen Capture of the Create Dynamic Group page showing a filter of All and Any with the Attributes Population ID, Country Code, Department and Email Address.

Learn more in Managing group membership.