Icon AddServerUser Method

void __fastcall AddServerUser(const System::UnicodeString
      UserName, const System::UnicodeString UserPassword, const
      System::UnicodeString UserDescription, bool IsAdministrator =
      false, System::Word MaxConnections = (System::Word)(0x64))

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