PromptUser Property
Whether to display a prompt.
Syntax
ANSI (Cross Platform) int GetPromptUser();
int SetPromptUser(int bPromptUser); Unicode (Windows) BOOL GetPromptUser();
INT SetPromptUser(BOOL bPromptUser);
@property (nonatomic,readwrite,assign,getter=promptUser,setter=setPromptUser:) BOOL promptUser; - (BOOL)promptUser; - (void)setPromptUser:(BOOL)newPromptUser;
#define PID_DPAPI_PROMPTUSER 9 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_DPAPI_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_DPAPI_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This property specifies whether a prompt is displayed when calling Protect. This dialog is created by the system and informs the user of the request action. The user may accept or cancel the request. If the user cancels the request the Protect method fails with an error.
When True the PromptTitle may be set to customize the window title.
This setting is not applicable when UseCNG is set to True. ;
Data Type
Boolean