Share

getPassword Method

Overload List

Method Description
AcDbHostApplicationServices::getPassword (ACHAR *, AcDbHostApplicationServices::PasswordOptions, AcString&) This is getPassword, a member of class AcDbHostApplicationServices.
AcDbHostApplicationServices::getPassword (ACHAR *, PasswordOptions, wchar_t *, size_t) This function is called internally by host applications such as AutoCAD and other ObjectARX applications (via the readDwgFile() and acedSyncFileOpen() functions) to display a password-request dialog box.A default implementation of this function is provided in AcadHostApplicationServices that uses passwordUI.dll (supplied with AutoCAD) to display a simple password-request dialog. The default implementation returns true if the user picked the OK button in the password dialog. Otherwise, it returns false, indicating that the user chose to cancel the decrypting operation.The dwgName is informational only and is supplied to be displayed to the user in whatever interface has been implemented. When... more

Was this information helpful?