Icon ModifyServerDatabaseUser Method

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

Usage

Call the ModifyServerDatabaseUser method to modify the rights for an existing user to an existing database on a database server. Use the DatabaseName parameter to specify the existing database name and the AuthorizedUser parameter to specify the existing user. You may use a wildcard (*) for the AuthorizedUser parameter , such as specifying just '*' for all users or 'Accounting*' for all users whose user name begins with 'Accounting'.

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