deleteUser

Syntax

deleteUser(userId)

Arguments

userId a string indicating a user name.

Details

Delete a user. It removes the user from all the groups the user belongs to.

It can only be executed by an administrator on the controller or data node.

Examples

deleteUser(`JohnSmith);