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 |
This command is not thread-safe, it cannot be used in preemptive code.
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.