# 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm