![]() |
![]() |
![]() |
![]() |
PrivateRecords.h. It discusses the following topics:
privateRecordViewEnum enumerated type provides the available choices for displaying private records.
typedef enum privateRecordViewEnum {    showPrivateRecords = 0x00,    maskPrivateRecords,    hidePrivateRecords} privateRecordViewEnum;
privateRecordViewEnum SecSelectViewStatus (void)
privateRecordViewEnum.
prefShowPrivateRecords, which controls how private records are displayed.
SecVerifyPW is called to see if the user changed the preference setting and, if so, to prompt the user to enter the appropriate password.
prefShowPrivateRecords and mask, display, or hide the private records accordingly. See the description of TblSetRowMasked for a partial example.
Boolean SecVerifyPW (privateRecordViewEnum newSecLevel)
|   |
-> |
The security level (display, hide, or mask) selected on the private records dialog. |
true if the prefShowPrivateRecords preference was successfully changed, false if not.
newSecLevel against the current value for the preference. If the two values differ and newSecLevel indicates a decrease in security, a dialog is displayed prompting the user to enter a password. (Hidden is considered the most secure, followed by masked. Showing private records is considered the least secure.) If the password is entered successfully, the preference is changed.
|   | ![]() |
![]() |
![]() |
![]() |
  |