/Engine/Source/Runtime/Core/Public/Misc/App.h
If this application is part of a session that was launched from UFE, this function will return the name of the user that launched the session. If this application is not part of a session, this function will return the name of the local user account under which the application is running.
Name of session owner.
static [FString](API\Runtime\Core\Containers\FString) GetSessionOwner()