|FAQ FOR WINDEV, WEBDEV|
AND WINDEV MOBILE
|FAQ #2523, published on 2002-10-15|
|How can I obtain information from files in User GroupWare while my |
application is running?
|You can directly access the files generated by User GroupWare. The |
files of the GroupWare user are dynamically described internally. To
utilize them use the command HDeclareExternal(). The password of these
files is defined in the creation window of the GroupWare user, e.g.
Code example how to learn whether the current user has "Supervisor" rights:
sUser is string
sUser = gpwGetUserInfo(gpwInfoLogin)
IF HFound() AND UTIL.SUPERVISOR=1 THEN
_Info("User is of type 'Supervisor'")
|Informations contained on this site are the exclusive property of PC SOFT. These informations and logos CANNOT be copied and/or used without a written authorization from PC SOFT. |
© PC SOFT 2004-2017.