datacube.drivers.common_psql.drop_users#

datacube.drivers.common_psql.drop_users(conn, usernames)[source]#

Drop a user or users if they exist.

Parameters:
  • conn (Connection) – An SQLAlchemy connection object

  • usernames (Iterable[str]) – The usernames to drop

Return type:

bool

Returns:

True if all users no longer exist after calling.