Is user deleted
Is user deleted ( userNumber ) : Boolean
Parameter | Type | Description | |
---|---|---|---|
userNumber | Integer | → | User ID number |
Function result | Boolean | ← | TRUE = User account is deleted or does not exist FALSE = User account is active |
Description
The Is user deleted command tests the user account whose unique user ID number you pass in userID.
If the user account does not exist or has been deleted, Is user deleted returns TRUE. Otherwise, it returns FALSE.
Error management
If you do not have the proper access privileges for calling Is user deleted 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
DELETE USER
GET USER PROPERTIES
Set user properties
Properties
Command number | 616 |
Thread safe | ✗ |
Modifies variables | error |