# Getting groups in PerforceSourceControl 

**URL:** <https://forums.unrealengine.com/t/getting-groups-in-perforcesourcecontrol/2677673>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 17, 2025, 2:58pm UTC](https://forums.unrealengine.com/t/getting-groups-in-perforcesourcecontrol/2677673 "2025-10-17T14:58:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 17, 2025, 2:58pm UTC](https://forums.unrealengine.com/t/getting-groups-in-perforcesourcecontrol/2677673/1 "2025-10-17T14:58:28Z")

</div>

In UE, we need to detect the P4 user group, but there’s no such operation in the **PerforceSourceControl** module. Therefore, we need to create our own SourceControlOperation and PerforceSourceControlWorker, and then add the worker to the **WorkersMap** in `PerforceSourceControl/Source/PerforceSourceControl/Private/PerforceSourceControlOperations.cpp`. This requires modifying the engine code.

In other providers, such as **GitSourceControlProvider** , the method for registering a worker is parameterised. Would it be possible to implement something similar for Perforce, or is there another recommended way to register additional operations?

---

<div class="post-metadata">

**Author:** ![toBatoN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@toBatoN](https://forums.unrealengine.com/u/toBatoN)\
**Post date:** [October 23, 2025, 2:55pm UTC](https://forums.unrealengine.com/t/getting-groups-in-perforcesourcecontrol/2677673/2 "2025-10-23T14:55:21Z")

</div>

Hi Anna,

Thanks for reaching out. From what I can tell there isn’t any way to register workers from external code. Neither for perforce nor for git. Git does have the API but it is all private. So I would be curious to know how you are registering workers for git without modifying engine code?

As for perforce, from what I can tell this is by design. So my recommendation would be to submit a pull request if you end up implementing this worker and we can look into integrating it with the engine.

Thanks,

Aditya Ravi Chandran
