.. # split from OEPlatformFunctions.rst:463

.. include:: ../substitutions

.. oe:namespace:: OEPlatform

.. meta::
   :keywords: OEGetUserName

.. oe:function:: OEGetUserName

   .. oe:api::

      std::string OEGetUserName()

   Returns the user name of the current user. The current implementation returns
   the value ``User`` or ``Windows User`` if the user name could not
   be determined. Future implementations of this function may return
   an empty string upon failure.

