def METHOD_NAME(obj):
    login_status = gettext_noop('Success') if obj.status else gettext_noop('Failed')
    detail = i18n_fmt(gettext_noop('User %s login system %s'), obj.username, login_status)
    username = obj.username
    user_id = User.objects.filter(username=username) \
        .values_list('id', flat=True).first()
    resource_list = []
    if user_id:
        resource_list = [user_id]
    return resource_list, detail, ActivityChoices.login_log, Organization.SYSTEM_ID