lockUser

Syntax

lockUser(userId)

Arguments

userId is a string indicating a user name.

Details

Lock the specified user. It can only be executed by administrators when the configuration parameter enhancedSecurityVerification is set to true.

Examples

lockUser("user1")

Related function: unlockUser