Icon GetServerDatabaseUser Method

void __fastcall GetServerDatabaseUser(const AnsiString
      DatabaseName, const AnsiString AuthorizedUser, TDatabaseRights
      &UserRights)

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