Icon GetRemoteDatabaseUser Method

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


Call the GetRemoteDatabaseUser 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 valid for both administrative and regular data connections. However, for regular data connections this method is only valid if the AuthorizedUser parameter matches that of the CurrentRemoteUser property.