PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
gpwGetUserInfo (Function)
In french: gpwRecupInfoUtilisateur
Retrieves information about the current user (application that is using the user groupware).
Example
// Récupération du prénom de l'utilisateur
Prénom is string
Prénom = gpwGetUserInfo(gpwInfoFirstName)
 
// Récupération de la liste des groupes de l'utilisateur
sListeGroupe is string = gpwGetUserInfo(gpwInfoGroup)
 
FOR EACH STRING sGroupe OF sListeGroupe SÉPARÉE BY TAB
       Trace(sGroupe)
END
Syntax
<Result> = gpwGetUserInfo(<Information>)
<Result>: String, Boolean or variable of type gpwUser
  • Requested information.
  • Versions 27 and later
    Variable of type gpwUser, if the constant gpwFullDetails was used.
    New in version 27
    Variable of type gpwUser, if the constant gpwFullDetails was used.
    Variable of type gpwUser, if the constant gpwFullDetails was used.
<Information>: Constant
Requested type of information:
Versions 27 and later
gpwFullDetails
New in version 27
gpwFullDetails
gpwFullDetails
Retrieves an Variable of type gpwUser containing all information about the current user.
Remark: Property Password of Variable is not filled in.
Versions 26 and later
gpwInfoTwoFactorAuthentication
New in version 26
gpwInfoTwoFactorAuthentication
gpwInfoTwoFactorAuthentication
Lets you know if dual authentication is enabled (<Result> will be at True) or not (<Result> will be at False) for the logged in user (this information is given per application).
gpwInfoGroupName of the group for the user or list of groups separated by tab.
gpwInfoLoginLogin of the user or constant corresponding to the type of user:
  • gpwSupervisor: Supervisor of the application
  • gpwVisitor: Visitor.
gpwInfoNameLast name of user
gpwInfoFirstNameFirst name of user
gpwInfoSupervisorUsed to find out whether the connected user is an administrator (<Result> will be set to True) or not (<Result> will be set to False).
Business / UI classification: Neutral code
Component: wd270gpu.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment