info.mailtraq.com > Management > Script Functions A-Z > DeleteUser() DeleteUser()Removes the specified user from the Console. Optionally, all mailslots owned by the user can also be removed.
result := DeleteUser( user, mailslots )
- user
- The username to be removed from the Console
- mailslots
- Boolean; set to "TRUE" to also remove all mailslots owned by the username, otherwise "FALSE"
- result
- Boolean
Removes the user fred (Fred Bloggs) and his owned mailslots from the console
DeleteUser("fred", "TRUE") |