DELETE USER
DELETE USER ( userID )
Parameter | Type | Description | |
---|---|---|---|
userID | Integer | → | ID number of user to delete |
Description
The DELETE USER command deletes the user whose unique user ID number you pass in userID. You must pass a valid user ID number returned by the GET USER LIST command.
If the user account does not exist or has already been deleted, the error -9979 is generated. You can catch this error with an error-handling method installed using ON ERR CALL.
Only the Designer and Administrator can delete users. It is not possible for the Administrator to delete a user created by the Designer.
Deleted user names no longer appear in the Users editor displayed when you call EDIT ACCESS, nor in the Design mode. Note that the numbers for deleted users can be reassigned when new user accounts are created.
Error management
If you do not have the proper access privileges for calling DELETE USER or if the Password system is already accessed by another process, an access privilege error is generated. You can catch this error with an error-handling method installed using ON ERR CALL.
See also
GET USER LIST
GET USER PROPERTIES
Is user deleted
Set user properties
Properties
Command number | 615 |
Thread safe | ✗ |
Modifies variables | error |