# ADSRightsCheck()

Sets the "rights checking" setting for opening files

Syntax

  ADSRightsCheck( <lMode> ) --> lPriorSetting

Arguments

  <lMode> .T. to check rights upon opening data files (the default), or .F. to ignore rights

Returns

  <lPriorSetting>

Description

  See ACE.HLP for full details about the Advantage Database Server. ADSRightsCheck() is a Get/Set function for the "rights checking" mode. If the setting is .T. when a file is opened, then the Advantage Database Server will use the rights of the connected user when opening the file. If the user does not have rights to the directory or server, then the open call will fail.
  If the setting is .F., then the ADS will ignore the connected user's rights and open the file regardless. This lets you allow only Advantage-based applications to access specific data.

Status

  Ready

Compliance

  Harbour extension

Platforms

  Windows 32-bit

Files

  Library is RddAds Header is ads.ch

See Also

- ADSLocking()