C++
bool setSecurityParams( const SecurityParams* pSecParams, bool bSetDbMod = true );
Description
This function is used to set database security parameters. See the SecurityParams struct documentation for information on how to specify security settings.
bSetDbMod indicates whether the database's DBMOD variable, or "dirty" flag, should be set when the new security settings are applied.
This function returns true if the security settings supplied by the caller were successfully applied. Otherwise, it returns false.
Parameters
Parameters | Description |
---|---|
pSecParams | Input pointer to a SecurityParams struct that carries information relevant to the requested security operations |
bSetDbMod | Input Boolean to indicate DBMOD handling |
Remarks
DWG files can no longer be saved with passwords. The password will be ignored and returns an error if password information is passed in the pSecParams parameter.