FApp::GetSessionOwner

Gets the name of the user who owns the session that this application is part of, if any.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Syntax

static FString GetSessionOwner()

Remarks

Gets the name of the user who owns the session that this application is part of, if any.

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.

Returns

Name of session owner.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss