.. highlightlang:: us .. index:: GetProfileString_Policy .. _getprofilestring_policy: GetProfileString_Policy ======================= .. us.tag GetProfileString_Policy NOTREADYENGLISH New340 uniplot-registry :ref:`GetProfileString_Policy` retrieves a string from the specified section in the Windows registry. .. function:: ssString = GetProfileString_Policy(ssSection, ssKey, ssDefault) .. us.return **Return Value** *ssString* is a scalar string to be read from the specified file. The string length is limited to 4095 characters. .. us.params **Parameters** .. uparam:: ssSection *ssSection* specifies the section containing the key name. The name of the section is case-independent; .. uparam:: ssKey *ssKey* is the key name of the associated string that is to be retrieved. .. uparam:: ssDefault *ssDefault* is a default string. If the key cannot be found in the Windows registry, :ref:`GetProfileString_Policy` returns the default string. .. us.comment **Comment** The function reads the key ``HKEY_CURRENT_USER\Software\Policies\RSB\UniPlot5``. If this fails it reads the key ``HKEY_CURRENT_USER\Software\RSB\UniPlot5``. .. seealso:: :ref:`overview-files`, :ref:`GetProfileInt_Policy`, :ref:`GetProfileString` :sub:`id-54310`