4D v14.3

DELETE USER

Home

 
4D v14.3
DELETE USER

DELETE USER 


 

DELETE USER ( userID ) 
Parameter Type   Description
userID  Longint in ID number of user to delete

The DELETE USER command deletes the user whose unique user ID number you pass in userID. You must pass a valid user ID number returned by the command GET USER LIST.

If the user account does not exist or has already been deleted, the error -9979 is generated. You can catch this error with an error-handling method installed using ON ERR CALL.

Only the Designer and Administrator can delete users. It is not possible for the Administrator to delete a user created by the Designer.

Deleted user names no longer appear in the Users editor displayed when you call EDIT ACCESS, nor in the Design mode. Note that the numbers for deleted users can be reassigned when new user accounts are created.

If you do not have the proper access privileges for calling DELETE USER 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: 615

This command modifies the Error system variable

 
HISTORY 

Created: 4D v6
Modified: 11

 
SEE ALSO 

GET USER LIST
GET USER PROPERTIES
Is user deleted
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)