SecureBlackbox 2020 C++ Edition

Questions / Feedback?

UserPassword Property

The user password.

Syntax

ANSI (Cross Platform)
char* GetUserPassword();
int SetUserPassword(const char* lpszUserPassword); Unicode (Windows) LPWSTR GetUserPassword();
INT SetUserPassword(LPCWSTR lpszUserPassword);
@property (nonatomic,readwrite,assign,getter=userPassword,setter=setUserPassword:) NSString* userPassword;
- (NSString*)userPassword;
- (void)setUserPassword:(NSString*)newUserPassword;
#define PID_PDFENCRYPTOR_USERPASSWORD 80

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Use this property to provide the document user password. Though it may be different to OwnerPassword, most implementations use the same value for the both.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]