Skip to main content
Version: Next

Is user deleted

Is user deleted ( userNumber ) -> Function result

ParameterTypeDescription
userNumberLongint🡒User ID number
Function resultBoolean🡐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