ctsqlGetUsername
Retrieve the current username.
Declaration
CTSQLCHAR* ctsqlGetUsername(pCTSQLCONN hConn)
Description
ctsqlGetUsername() retrieves the current username.
Return
ctsqlGetUsername() returns a pointer to the current user name, or NULL if neither a user name is available, nor the connection handle is valid.
See Also
ctsqlConnect(), ctsqlGetDatabase()