Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetTableOwner

Set the table owner.

Declaration

CTDBRET ctdbSetTableOwner(CTHANDLE Handle, pTEXT owner);

Description

Sets the table owner. You should set the table owner before the table is created to allow the proper c-tree security setting to take place.

  • Handle is a table handle allocated by ctdbAllocTable().
  • owner is a string with the table owner name. owner can be NULL, in which case the table owner name will be cleared.

Return Values

ctdbSetTableOwner() returns CTDBRET_OK on success.

See Also

ctdbGetTableOwner()

TOCIndex