$setUserEnabled

Enables/Disables the specified user.
Syntax
    $setUserEnabled{username}{flag}
DocumentationEnables/Disables the specified user:

    Parameters:
      username, the name of the user to be enabled/disabled.
      flag, a flag to indicate if the named user is to be enabled or disabled. 1 stands for enable and 0 for disable.
Examples
    $createUser{Jack1}{secret}
    $setUserEnabled{Jack1}{0}

    Result:
    creates user "Jack1", sets user disabled, no access or permissions
GroupSecurity
Minimum required transaction-mode:UPDATE=SECURITY
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATIVE
Minimum parameters2
Maximum parameters 2