Query a User

The following example shows the request and response that is defined in the XSD files for the QuerySysAdminUser tag. If the Name element occurs, the CMP queries only the corresponding user; otherwise, all users are queried.

Request

This request follows the QuerySysAdminUser tag defined in the XSD files.

<XmlInterfaceRequest>
    <QuerySysAdminUser>
      <Name>admin</Name>
    </QuerySysAdminUser>
</XmlInterfaceRequest>
The QuerySysAdminUser operation parameters are as follows:
  • Name (Optional

    250 characters (string); can only contain the characters A–Z, a–z, 0–9, period (.), hyphen (-), and underline (_)

If the query is successful, the list of users is returned in XML as a response with the following fields for each user.

The output fields for the QuerySysAdminUser operation are as follows:
  • Name

    The name of the user

  • Description

    The description of the user

  • Password

    The password fo the user, encrypted

  • LockedStatus

    0 = locked, 1 = unlocked

  • RoleRef

    The associated role

  • ScopeRef

    The associated scope; there can be multiple scopes.

Response

The response to this request:

<ConfigurationData version="7.5.0">
    <SysAdminUser>
        <Name>admin</Name>
        <Description>The default administrator user with all privileges</Description>
        <Password>835154D6D3FA2C3575AA700A54AB9F6492E7ABB7</Password>
        <LockedStatus>0</LockedStatus>
        <RoleRef>
            <Name>Administrator</Name>
        </RoleRef>
        <ScopeRef>
            <Name>Global</Name>
        </ScopeRef>
    </SysAdminUser>
</ConfigurationData>