---
title: "Feature: Add academic:createprofiles options --include-pids and --exclude-pids"
manual: "Academic Profiles"
version: "main"
source: "Changelog/2.1/Feature-AddAcademiccreateprofilesOptions--Include-pidsAnd--Exclude-pids.rst"
rendered: "2026-10-02T20:47:49+00:00"
---

# Feature: Add `academic:createprofiles` options `--include-pids` and `--exclude-pids` {#feature-1746706700}

## Description {#description}

`EXT:academic_persons` provides a command to create profiles for
frontend users, extendable by dispatching events to allow devs
customizing the profile creation in projects, for example to
base it on special needs like retrieving updated user data from
LDAP oder other services.

Until now, all frontend users without profiles on any pid has
been fetched, which does not respect use-cases where frontend
users for dedicated logins are required and profile creation
is not wanted, needed or suitable.

This change adds following new options to the provided command
`vendor/bin/typo3 academic:createprofiles`:

-   `--include-pids`: comma-separated list of storage pid's from
    which frontend users should be fetched (only).
-   `--exclude-pids`: comma-separated list of storage pid's from
    which frontend users should be ignored (skipped).

### Important note {#important-note}

While both options can be used together it is important to
know that `--exclude-pids` takes higher priorities and are
ignored even if pid is also included in `include-pids`.
