Icon AddServerUser Method

procedure AddServerUser(const UserName: String; const
      UserPassword: String; const UserDescription: String;
      IsAdministrator: Boolean=False; MaxConnections:
      Word=DEFAULT_MAX_USER_CONNECTIONS)

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