Daylight v4.9 Release Date: 1 February 2008 Namedt_ispublic - test if a database is publicGeneric Prototypedt_ispublic(dt_Handle, dt_String) => dt_BooleanC Prototype#include "dt_thor.h"dt_Boolean dt_ispublic(dt_Handle server, dt_Integer dblen, dt_String dbname) FORTRAN Prototypeinclude 'dt_f_thor.inc'logical dt_f_ispublic(server, dbname)
integer*4 server
DescriptionTests to see if the database is public. A database is public if it has an empty read-permission password so that it can be opened without a password.Return ValueReturns TRUE if the database is public, FALSE otherwise. For all other object types, this property is defined as FALSE.Related Topicsdt_database(3) dt_getdatabases(3) dt_getpasswords(3) dt_getsearchpath(3) dt_getusers(3) dt_isopen(3) dt_open(3) dt_server(3) dt_setpassword(3) dt_setsearchpath(3) |