4D v16.3

DELETE USER

Home

 
4D v16.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 GET USER LIST command.

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.



See also 

GET USER LIST
GET USER PROPERTIES
Is user deleted
Set user properties

 
PROPERTIES 

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

This command modifies the Error system variable

 
HISTORY 

Created: 4D v6
Modified: 11

 
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)