Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A user may belong to multiple AD groups. This guide describes how to return the list of groups the user belongs to in a SAML attribute.

Section
bordertrue


Column

Under SSO>Service Providers locate the SP you wish to add the attribute to.


Click on the Ellipses and select Edit from the drop-down menu that appears


Column
width60%


Panel
borderColor#9EBEE5
bgColor#f0f0f0
borderWidth1px



...

Section
bordertrue


Column

Add the following parameters:

FieldValue
Location:HTTP Body
Name:This can be any name the SP requires however usually it is 'Groupsgroups'
Format: attrname-format:URIunspecified
Script:groups*?.name


Column
width60%


Panel
borderColor#9EBEE5
bgColor#f0f0f0
borderWidth1px



...

Section
bordertrue


Column

Here are the groups that my test the AD account belongs to..



Column
width60%


Panel
borderColor#9EBEE5
bgColor#f0f0f0
borderWidth1px



...

Section
bordertrue


Column

If I you log onto my SAML test app  I the SAML website  you can check to see if all the groups of which my the AD account is a member of, are returned in the Groups 'groups' attribute, by looking at the full SAML assertion...


Column
width60%


Panel
borderColor#9EBEE5
bgColor#f0f0f0
borderWidth1px

 




Section
bordertrue


Column

And In this example, this is a screenshot from what the SAML test page returns..


Column
width60%


Panel
borderColor#9EBEE5
bgColor#f0f0f0
borderWidth1px

 



...