4D v16.3

Is user deleted

Home

 
4D v16.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.



See also 

DELETE USER
GET USER PROPERTIES
Set user properties

 
PROPERTIES 

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

This command modifies the Error system variable

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)