def METHOD_NAME(user_id, domain):
    user = CommCareUser(
        _id=user_id,
        domain=domain,
        username='hc',
        first_name='Harry',
        last_name='Casual',
        is_active=True,
    )
    user_adapter.index(user, refresh=True)
    return user