X4 Help Center
7.5 7.4 German English
Auto Light Dark
Auto Light Dark
7.5 7.4 German English

Get User by Id

The Get User by Id operation outputs the data of the user with the specified ID.

Input

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

Id

Element

Description

Possible values

Id

UUID of the user

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>

Examples

Input

XML
<?xml version="1.0" encoding="UTF-8"?>
<Id>2302cf2f-9b29-4d62-9c48-67ac5e3b0ddc</Id> 

Output

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<User>
    <Id>2302cf2f-9b29-4d62-9c48-67ac5e3b0ddc</Id>
    <CreatedTimestamp>1634133393343</CreatedTimestamp>
    <Username>exampleuser</Username>
    <Enabled>true</Enabled>
    <Totp>false</Totp>
    <EmailVerified>true</EmailVerified>
    <FirstName>Jane</FirstName>
    <LastName>Doe</LastName>
    <Email>john.doe@example.com</Email>
    <Attributes>
        <Attribute>
            <Name>Employment Relationship</Name>
            <Values>
                <Value>Software Developer</Value>
                <Value>Sub-Team Lead</Value>
            </Values>
        </Attribute>
    </Attributes>
    <NotBefore>0</NotBefore>
    <access>
        <entry>
            <key>manageGroupMembership</key>
            <value>true</value>
        </entry>
        <entry>
            <key>view</key>
            <value>true</value>
        </entry>
        <entry>
            <key>mapRoles</key>
            <value>true</value>
        </entry>
        <entry>
            <key>impersonate</key>
            <value>false</value>
        </entry>
        <entry>
            <key>manage</key>
            <value>true</value>
        </entry>
    </access>
</User>