KiX has no built-in command or function to do this. Since you failed to mention the KiX version or client OS, we cannot advise whether ADSI is an option. If you meet the req's for ADSI, have a look at our UDF library. There are at least UDFs to add members that you could borrow from.

Why not just SHELL out and use NET or CUSRMGR?

Why on earth would you have to scipt this? Why not just do it in User Manager? It looks to me that there may be malicious intent.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.