DELETE USER

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 6.0


DELETE USER (userID)

ParameterTypeDescription
userIDNumberID number of user to delete

Description

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 Password window displayed when the database is open or when you call CHANGE ACCESS. However, in order to maintain unique user ID numbers, the user account is kept in the password system. Deleted user names are displayed in green in the Users editor of the Design environment.

See Also

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

Error Handling

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.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next