User Search

Description

Search for a user.

The service returns a list of users that contain the whole search string in the name or logon reference. If the search string is blank, all users are returned. Search is not case sensitive.

The service only returns the users that the user is authorised to maintain, i.e. members of groups over which they have own users authority, or any user if the current user has maintain-user authority.

searchString defaults to the empty string, and sort defaults to name.

Input

<UserSearch>
<userLogonReference>userid</userLogonReference>
<password>password</password> <searchString>search string</searchString> <sort>reference|name</sort>
</UserSearch>

Output

<UserSearch>
<errorNumber>0</errorNumber> <UserList> <User> <userIdentifier/> <userLogonReference/> <userName/> <userEnabledIndicator>true|false</userEnabledIndicator> </User> </UserList>
</UserSearch>

Fields are as defined on the user table.

Errors

101 - Not authorised

Class

com.metrici.xerula.UserSearchService