IDOL Server 12.13

# UserLuaScript

A Lua script that contains functions to use for User management. If you set `UserLuaScript`, IDOL Server calls the following functions, if they exist:

- `password_complexity_check`. A function to check whether a particular choice of user password fits the complexity criteria that you define in the script. This script must accept a string (the proposed password), and return a Boolean value (true if the password is acceptable, false otherwise).

  If you set both `UserLuaScript` and PasswordStrength, IDOL Server runs the Lua script check first, and then checks that the result also meets the PasswordStrength complexity criteria.

  If you do not define the `password_complexity_check` function in your script, IDOL Server logs a warning message and continues to check by using PasswordStrength (if set).

You can use any of the standard IDOL Lua functions in your script. See Lua Functions and Methods Reference.

Type: | String
Default: |
Required: | No
Configuration Section: | User
Example: | `UserLuaScript=C:\IDOL\Scripts\UserScript.lua`
See Also: | PasswordStrength

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 12.13

Topic Title: UserLuaScript