Click here to Skip to main content
15,888,056 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i am using SAMl with Third Party too Component Pro dll.

using that i am creating SAML Attributes.

I have to Generate Saml attribute with Multiple Values that to dynamically.

I am getting like
XML
<saml:Attribute Name="ApplicationRoles" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue>Test Role PII</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="ApplicationRoles" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>Dev Testing Role</saml:AttributeValue>
</saml:Attribute>


instead of above, i need in below format dynamically.
XML
<Attribute Name="roles">
              <AttributeValue>Domain Users</AttributeValue>
              <AttributeValue>Teacher</AttributeValue>
          </Attribute

>

Help me Out.Thanks in Advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900