Removing a User from the Security Database

From InterBase
Jump to: navigation, search

Go Up to Configuring Users


Use the DeleteUser method to remove a user from the InterBase security database (admin.ib by default).

The following code snippet calls the DeleteUser method to delete the user indicated by the UserName property:

try
UserName := Edit1.Text;
DeleteUser;
finally
Edit1.Clear;
Active := False;
end;

If you remove a user entry from the InterBase security database (admin.ib by default), no one can log into any database on that server using that name. You must create a new entry for that name using the AddUser method.

Advance To: