# Which groups are included in a group attribute statement

**URL:** <https://devforum.okta.com/t/which-groups-are-included-in-a-group-attribute-statement/14018>\
**Category:** Questions\
**Created:** [April 28, 2021, 3:49pm UTC](https://devforum.okta.com/t/which-groups-are-included-in-a-group-attribute-statement/14018 "2021-04-28T15:49:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonwolski](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/jonwolski/32/2878_2.png) [@jonwolski](https://devforum.okta.com/u/jonwolski)\
**Post date:** [April 28, 2021, 3:49pm UTC](https://devforum.okta.com/t/which-groups-are-included-in-a-group-attribute-statement/14018/1 "2021-04-28T15:49:16Z")

</div>

When I set up SAML integration for an application and configure a “Group Attribute Statement,” will this return _all_ the groups to which the authenticating user belongs, or only those groups to which the authenticating user belongs **AND** are associated with the Okta application?

---

<div class="post-metadata">

**Author:** ![Fuzzard](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/fuzzard/32/1909_2.png) [@Fuzzard](https://devforum.okta.com/u/Fuzzard)\
**Post date:** [April 29, 2021, 4:16am UTC](https://devforum.okta.com/t/which-groups-are-included-in-a-group-attribute-statement/14018/2 "2021-04-29T04:16:34Z")

</div>

it will return all groups that match the filter and the user is a member of, regardless if the groups are assigned to the application.

---

<div class="post-metadata">

**Author:** ![jonwolski](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/jonwolski/32/2878_2.png) [@jonwolski](https://devforum.okta.com/u/jonwolski)\
**Post date:** [April 30, 2021, 4:27am UTC](https://devforum.okta.com/t/which-groups-are-included-in-a-group-attribute-statement/14018/3 "2021-04-30T04:27:36Z")

</div>

Thank you @Fuzzard . That’s very helpful. I didn’t have sufficient access to test it myself.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [May 1, 2021, 4:28am UTC](https://devforum.okta.com/t/which-groups-are-included-in-a-group-attribute-statement/14018/4 "2021-05-01T04:28:28Z")

</div>

Closed on May 1, 2021, 4:28am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
