'GET /api/users/{encoded_user_id}
GET /api/users/current
Returns a dictionary of information about a user.
:param id: the encoded id of the User object.'

@web.expose_api_anonymous
def show(self, trans, id, **kwd):

    user = None
    if ((id == 'current') and trans.user):
        user = trans.user
    else:
        user = suc.get_user(trans.app, id)
    if (user is None):
        user_dict = dict(message=('Unable    to    locate    user    record    for    id    %s.' % str(id)), status='error')
        return user_dict
    user_dict = user.to_dict(view='element', value_mapper=self.__get_value_mapper(trans))
    user_dict['url'] = web.url_for(controller='users', action='show', id=trans.security.encode_id(user.id))
    return user_dict
