Icon GetServerDatabaseUser Method

procedure GetServerDatabaseUser(const DatabaseName: String;
      const AuthorizedUser: String; var UserRights: TDatabaseRights)

Usage

Call the GetServerDatabaseUser method to retrieve 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.

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