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.

Examples

deleteUser(`JohnSmith);