'GET /api/users/{encoded_id}
GET /api/users/deleted/{encoded_id}
GET /api/users/current
Displays information about a user.'

@expose_api_anonymous
def show(self, trans, id, deleted='False', **kwd):

    deleted = util.string_as_bool(deleted)
    try:
        if (id == 'current'):
            if (not trans.user):
                item = self.anon_user_api_value(trans)
                return item
            else:
                user = trans.user
        else:
            user = self.get_user(trans, id, deleted=deleted)
        if (not trans.user_is_admin()):
            assert (trans.user == user)
            assert (not user.deleted)
    except:
        raise exceptions.RequestParameterInvalidException('Invalid    user    id    specified', id=id)
    return self.user_serializer.serialize_to_view(user, view='detailed')
