Get Users with Role
The Get Users with Role
operation outputs the data of users assigned to the specified role.
Input XML
XML
<?xml version="1.0" encoding="UTF-8"?>
<Name></Name>
Name
Element | Description | Possible values |
---|---|---|
Name | Name of the role | Any string |
XSD
XML
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="Name" type="xs:string"/>
</xs:schema>
Example
Input
XML
<?xml version="1.0" encoding="UTF-8"?>
<Name>x4_dev_access</Name>
Output
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Users>
<User>
<Id>1e6d7aed-8d82-4926-bf8d-fc490002f377</Id>
<CreatedTimestamp>1634287963141</CreatedTimestamp>
<Username>john</Username>
<Enabled>true</Enabled>
<Totp>false</Totp>
<EmailVerified>true</EmailVerified>
<FirstName>John</FirstName>
<LastName>Doe</LastName>
<Email>john@example.com</Email>
<Attributes/>
<NotBefore>0</NotBefore>
</User>
<User>
<Id>a7bbfc23-a129-47c6-a802-e748d73876a6</Id>
<CreatedTimestamp>1634287894774</CreatedTimestamp>
<Username>jane</Username>
<Enabled>true</Enabled>
<Totp>false</Totp>
<EmailVerified>true</EmailVerified>
<FirstName>Jane</FirstName>
<LastName>Doe</LastName>
<Email>jane@example.com</Email>
<Attributes/>
<NotBefore>0</NotBefore>
</User>
</Users>