Cicode Programming Reference > Cicode Function Categories > Security Functions Introduction > UserDelete

UserDelete

Not available for a Windows user.

Deletes the record for a user. Changes are written to both the Users database and the runtime database in memory.

Syntax

UserDelete(sName)

sName:

The name of the user.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

UserCreate, UserEditForm

Example

/* Delete Fred from the database */
UserDelete("Fred");

See Also

Security Functions