public class XmlRpcUserHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static XmlRpcUserHelper |
getInstance() |
User |
lookupTargetUser(User loggedInUser,
java.lang.String login)
Helper method to lookup a target user to operate on.
|
public static XmlRpcUserHelper getInstance()
public User lookupTargetUser(User loggedInUser, java.lang.String login) throws FaultException
loggedInUser
- The user looking up the other userlogin
- The login of the user you're looking forFaultException
- A PermissionCheckFailureException is thrown
if the logged in user doesn't have access to the user or the login is invalid. A
NoSuchUserException is thrown if the loggedInUser has the correct credentials but
the user corresponding to login doesn't exist.