B.0 Authentication Hook

An authentication hook enables you to control the installation or launching of the bundle.

Create an executable file containing your authentication logic and begin its name with authhook. For example, authhookinstall.exe. During the installation or launching of the bundle, the bundle manager searches for a file matching authhook*.* in the bin directory of ZENworks. If the file is found, the bundle manager passes four arguments: zone name, bundle ID, bundle name, and username of the current bundle to the file. On execution, the file returns a code. The bundle manager installs or launches the bundle only if the returned error code matches 264.