4D v13.4

Is user deleted

Home

 
4D v13.4
Is user deleted

Is user deleted 


 

Is user deleted ( userNumber ) -> Function result 
Parameter Type   Description
userNumber  Longint in User ID number
Function result  Boolean in TRUE = User account is deleted or does not exist FALSE = User account is active

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.

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.

 
PROPERTIES 

Product: 4D
Theme: Users and Groups
Number: 616

This command modifies the Error system variable

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

DELETE USER
GET USER PROPERTIES
Set user properties