Function which gives access to protected layers. By default, protected layers cannot be accessed by scripts. The parameters of a protected layer and any elements inside of it are hidden for scripts. This avoids that someone unauthorized parses the program tree to retrieve hidden information. By calling this function with the correct password the calling script can access the corresponding protected layer(s) again.
To hide the password in addLayerPassword, you must protect also the script module. See Managing Script Modules for details.
Available in: Controller.
|pwd||The password of the protected layer(s).||string|