ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Requested information, Empty string ("") if an error occurred. "Unknown user" or "Unknown group" if the current user has no permissions to see other users (hRightsSeeUser constant) and wants to get information about another user or group.The requested information depend according to the parameter <Display mode of result>: In hDefault mode, <Result> is a list of values separated by tabs.
<Value of rights 1> + TAB + ... + TAB + <Value of rights N>
where <Value of rights> corresponds to the value of the rights requested by the <Rights> parameter. The values in the list can correspond to one of the following constants:hAllowedThe relevant rights are granted to the user or group.hForbiddenThe relevant rights are not granted to the user or group.hInheritThe user belongs to at least one group to which the relevant rights were 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 rights 1> + CR + ...<Relevant rights N> + TAB + <Value of rights N> + CR
where: <Relevant rights> corresponds to one of the constants used in the <Rights> parameter. <Value of rights> corresponds to one of the constants: hAllowedThe relevant rights are granted to the user or group.hForbiddenThe relevant rights are not granted to the user or group.hInheritThe user belongs to at least one group to which the relevant rights were granted.This constant is returned only if the display mode is not set to hEffective.
Name of the Connection variable that describes the connection for which the rights of a user or group of users must be known.
Name of the user or group whose rights must be known.
List of rights to find:hRightsInsertRights to add new records into a data file.hRightsLockRights to lock the data files or the records of a data file.hRightsChangeRightsRights to change rights.hRightsChangeLinkRights to modify the integrity rules on a data file.hRightsChangeOwnerRights to modify the owner of an element.hRightsConnectionRights to connect to a server (encrypted or unencrypted connection).hRightsEncryptedConnectionRights to connect to a server (encrypted connection only).hRightsCreateFileRights to create a data file (with HCreation).Versions 20 and laterhRightsCreateViewNew in version 20hRightsCreateViewhRightsCreateViewRights to create a view. hRightsDebugRights to debug the stored procedures.hRightsRunProcedureRights to run a stored procedure.hRightsManageDuplicateRights to enable and disable the management of duplicates.hRightsManageIntegrityRights to enable and disable the management of integrity.hRightsManageProcedureRights to add, modify and delete the sets of procedures.hRightsManageTriggerRights to add, enable and delete server triggers.hRightsNoDatabaseAccessRights to forbid the access to a database (<Connection variable>.NoDatabaseAccess and <Connection variable>.EndNoDatabaseAccess).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.hRightsBackupRights to perform a backup.hRightsDeleteRights to delete the records from a data file.hRightsDeleteDBRights to delete a database.hRightsDeleteFileRights to delete a data file (<Connection variable>.DeleteFile).Versions 20 and laterhRightsDeleteViewNew in version 20hRightsDeleteViewhRightsDeleteViewRights to delete a view. hRightsAllList of all the rightsWe recommend that you use this constant in hDetails or hEffective + hDetails display mode.
Name of the database for which the rights are requested.
Result display mode: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 there value.hEffectiveThe rights returned correspond to the rights that will be actually granted to the user or to the group on the database. 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 there value.
Last update: 10/29/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: