Function which gives access to protected layers. By default, a protected layer cannot be accessed by the script. The parameters of a protected layer and any elements inside of it are hidden for the script. By calling this function with the correct password the script can access a protected layer, its parameters and the elements inside of it.
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.||string|