4D v14.3

Is user deleted

Home

 
4D v14.3
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

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

DELETE USER
GET USER PROPERTIES
Set user properties

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)