Lua API "c_AddUser" just added two parameters(nil value will be accepted):
string SSH Public Key Path
table Subfolder access rules, its structure looks like parameter 32.
and modified parameter 32:
table a table list of user directories (user directory also is a table, its structure is formated as
I think old lua script can work fine, if you still can't solve your problem, please paste your code.