X4 Produktdokumentation

Get Composite of Role

The Get Composite of Role operation outputs the child roles of a composite role with the specified ID.

Input XML

XML
<?xml version="1.0" encoding="UTF-8"?>
<Id></Id>

Id

Element

Description

Possible values

Id

UUID of the role

UUID

XSD

XML
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="Id" type="xs:string"/>
</xs:schema>

Example

Input

XML
<?xml version="1.0" encoding="UTF-8"?>
<Id>3915229f-7544-4701-b1dc-6092861d9101</Id> 

Output

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Roles>
    <Role>
        <Id>4915229f-7544-4701-b1dc-6092861d9102</Id>
        <Name>x4_admin_access_1</Name>
        <Composite>false</Composite>
        <ClientRole>false</ClientRole>
        <ContainerId>X4Realm</ContainerId>
        <Attributes/>
    </Role>
    <Role>
        <Id>5915229f-7544-4701-b1dc-6092861d9103</Id>
        <Name>x4_admin_access_2</Name>
        <Composite>false</Composite>
        <ClientRole>false</ClientRole>
        <ContainerId>X4Realm</ContainerId>
        <Attributes/>
    </Role>
</Roles>