.. highlightlang:: us .. index:: DocGetProtectionComment .. _docgetprotectioncomment: DocGetProtectionComment ======================= .. us.tag DocGetProtectionComment NOTREADYENGLISH DocGet New400 :ref:`DocGetProtectionComment` retrieves the comment that is displayed when a password protected document is opened. .. function:: ssComment = DocGetProtectionComment(hDoc) .. us.return **Return Value** *ssComment* is a comment that is displayed password dialog is displayed. .. us.params **Parameters** .. uparam:: hDoc Identifies the document. .. seealso:: :ref:`overview-documents`, :ref:`toolsprotect-document`, :ref:`DocGetProtectionFlags`, :ref:`DocSetProtectionFlags` :sub:`id-227561`