Icon AddServerUser Method

void __fastcall AddServerUser(const AnsiString UserName, const
      AnsiString UserPassword, const AnsiString UserDescription, bool
      IsAdministrator, Word MaxConnections)

Usage

Call the AddServerUser method to add a new user to a database server. Use the UserName parameter to specify the new user name, the UserPassword parameter to specify the user's password, the UserDescription parameter to specify a description of the user, the IsAdministrator parameter to indicate whether the new user is an administrator, and the MaxConnections property is used to specify how many concurrent connections this user is allowed to have at any given time.

Information This method is only valid when the engine is running as a database server and the EngineType is set to etServer.
Image