Icon AddRemoteDatabaseUser Method

procedure AddRemoteDatabaseUser(const DatabaseName: String;
      const AuthorizedUser: String; RightsToAssign: TDatabaseRights)


Call the AddRemoteDatabaseUser method to add rights for an existing user to an existing database on a database server. Use the DatabaseName parameter to specify the existing database name, the AuthorizedUser parameter to specify the existing user, and the RightsToAssign parameter to specify the rights to give to the user for the database. You may use a wildcard (*) for the AuthorizedUser parameter. For example, you could specify just "*" for all users or "Accounting*" for all users whose user name begins with "Accounting".

Information This method is only valid for encrypted remote sessions connected as an administrator to the administration port on a database server.