deleteUser
Syntax
deleteUser(userId)
Details
Delete a user. It removes the user from all the groups the user belongs to.
It can only be executed by an administrator.
Parameters
userId a string indicating a user name.
Returns
None.
Examples
deleteUser(`JohnSmith);
