WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
Requested information, Empty string ("") if an error occurred. "Unknown user" or "Unknown group" if the current user does not have the rights to see the users (hRightsSeeUser constant) and if he wants to get information about another user or another group.In hDefault mode, <Result> is a list of values separated by tabulations (TAB). Each value found in this list corresponds to the rights requested by <Rights>. Each value found in this list can correspond to one of the following constants:hAllowedThe relevant rights are granted to the user or to the group.hForbiddenThe relevant rights are not granted to the user or to the group.hInheritThe user belongs to at least one group to which the relevant rights was granted.This constant is returned only if the display mode is not set to hEffective.In hDetails mode, <Result> is a list of values with the following format::
<Relevant rights 1> + TAB + <Value of rights1> + CR + ... <Relevant rights N> + TAB + <Value of rights N> + CR
The rights correspond to the constants used in the <Rights> parameter and the values of the rights correspond to the hAllowed, hForbidden or hInherited constant (see the above table).
Connection for which the rights of a user or group of users must be known. This connection corresponds to: the name of the connection defined in the data model editor or with HDescribeConnection or HOpenConnection.the name of a Connection variable.
Name of the user or name of the group whose rights are requested.
List of rights to find:hRightsInsertRights to add new records into a data file.hRightsLockRights to lock the files or the records of a data file.hRightsChangeRightsRights to change the rights.hRightsChangeLinkRights to modify the integrity rules on a data file.hRightsChangeOwnerRights to modify the owner of an element.hRightsManageDuplicateRights to enable and disable the management of duplicates.hRightsReadRights to read the records of a data file.hRightsMaintenanceRights to start a re-index operation or to perform statistical calculations on a data file.hRightsAutoModifRights to perform an automatic modification on a data file.hRightsUpdateRights to modify the records of a data file.hRightsDeleteRights to delete the records from a data file.hRightsDeleteFileRights to delete a data file (HDeleteFile)hRightsAllList of all the rights.We recommend that you use this constant in hDetails or hEffective + hDetails display mode.
Name of the database containing the data file for which the rights are requested. If the database corresponds to the database defined in the connection, this parameter can correspond to an empty string (""). A WLanguage error occurs if no database is defined in the connection and if this parameter corresponds to an empty string.
Name of the HFSQL data file on the server for which rights are requested. The extension of the data file must be specified.
Mode for displaying the result:hDefault(Default value)The rights returned do not take the inherited rights into account (rights granted to the groups to which the user belongs).If no rights were defined, the value will be set to hInherit.<Result> contains the values of the requested rights (in the same order).hDetailsSame as hDefault. <Result> contains the rights and its value.hEffectiveThe rights returned correspond to the rights actually granted to the user or to the group on the data file. The inherited rights are taken into account (rights granted to the groups to which the user belongs for example).hEffective + hDetailsSame as hEffective. <Result> contains the rights and its value.
Last update: 05/01/2020
Send a report | Local help
J'accepte les termes de la licence
All you have to do is configure your product as follows: