Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > deleteUser |  |

deleteUser

Syntax

    system.DBAdmin.deleteUser [#userID: userName]

Description

Multiuser Server command; deletes a DBUser database object from the server.

Example

This statement deletes the DBUser object for the user Bob from the server:

    errCode = gMultiuserInstance.sendNetMessage ( "system.DBAdmin.deleteUser", "anySubject", [#userID: "Bob"] )

The server's response looks like this:

    [#errorCode: 0, #recipients: ["userName"], #senderID: "system.DBAdmin.deleteUser", #subject: "anySubject", #content: [#userID: "Bob"], #timeStamp: 183543403]

See also

`sendNetMessage()`, `createUser`