IDOL Community Component 24.4
IDOL Community Component Help

# UserLuaScript

A Lua script that contains functions to use for User management. If you set `UserLuaScript`, IDOL Community Component 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 Community Component 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 Community Component 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 2024 Open Text
Version 24.4 | Last updated September 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL IDOL Community Component 24.4

Topic Title: UserLuaScript