Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbEndImpersonation

Disables the ability of the thread to support impersonation by another thread.

Declaration

CTDBRET ctdbEndImpersonation(CTHANDLE Handle)

Description

Finishes current impersonation (ctImpersonateTask()) and updates the "lock mode" on the server side with the lock mode stored before the impersonation in the prelockmode session property.

Note: This function is not supported by the FairCom Server by default. It requires a custom build of the server available by special request.

Returns

CTDBRET_OK on success.

See Also

ctdbBeginImpersonation()

TOCIndex