|
|
|
|
|
gpwGetUserInfo (Function) In french: gpwRecupInfoUtilisateur Retrieves information about the current user (application that uses the User Groupware).
Prénom is string
Prénom = gpwGetUserInfo(gpwInfoFirstName)
sListeGroupe is string = gpwRecupInfoUtilisateur(gpwInfoGroup)
FOR EACH STRING sGroupe OF sListeGroupe SEPARATED BY TAB
Trace(sGroupe)
END
Syntax
<Result> = gpwGetUserInfo(<Information>)
<Result>: String, Boolean or gpwUser variable - Requested information.
- Variable of type gpwUser, if the gpwFullDetails constant has been used.
<Information>: Constant Requested type of information: | | gpwFullDetails | Retrieves a variable of type gpwUser containing all the information about the current user. Note: the Password property of the variable is not set.. | gpwInfoFirstName | User's first name. | gpwInfoGroup | Name of the group for the user or list of groups separated by tab. | gpwInfoLastName | User name | gpwInfoLogin | Login of the user or constant corresponding to the type of user: - gpwSupervisor: Application supervisor.
- gpwVisitor: Visitor.
| gpwInfoSupervisor | Used to find out whether the connected user is an administrator (<Result> will be set to True) or not (<Result> will be set to False). | gpwInfoTwoFactorAuthentication | Determines if two-factor authentication is enabled or disabled (<Result> set to True or False, respectively) for the logged in user. This information is provided for each application. |
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|