Wiki source code of Notion d'utilisateur (*USER)

Last modified by Jean-Luc POGNANTE on 2011/11/18 16:21

Show last authors
1 (((
2 = Introduction =
3 )))
4
5 (% style="color: rgb(0,0,0);" %)(% style="color: rgb(0,0,0);" %)Le mot réservé **(% style="color: rgb(255,102,0);" %)*USER(%%)** permet de récupérer le nom de l'utilisateur courant du travail dans lequel s'exécute le programme.(%%)(%%)
6 (((
7 = Utilisation =
8 )))
9
10 (% style="color: rgb(0,0,0);" %)(% style="color: rgb(0,0,0);" %)La manipulation du mot réservé *USER dans le source L4G d'un programme Adelia doit être effectuée en tenant compte du type d'application Adelia, de la plateforme d'exécution cible et du contexte d'utilisation.(%%)
11
12 (% style="color: rgb(0,0,0);" %)Type d'application Adelia : (% style="color: rgb(255,102,0);" %)**iSeries Adelia**(%%) (programmes AD_I, AD_B), (% style="color: rgb(255,102,0);" %)**Visual Adelia**(%%) (VA_I, VA_B), (% style="color: rgb(255,102,0);" %)**Web Adelia**(%%) (WA_I, WA_B), **(% style="color: rgb(255,102,0);" %)Serveur Adelia(%%)** (SA_B)(%%)
13 (% style="color: rgb(0,0,0);" %)Plateformes d'exécution cibles : (% style="color: rgb(255,102,0);" %)**Iseries**(%%), **(% style="color: rgb(255,102,0);" %)Visual Windows(%%)**, **(% style="color: rgb(255,102,0);" %)Web Java(%%)**(%%)
14 (% style="color: rgb(0,0,0);" %)Contexte d'exécution : **(% style="color: rgb(255,102,0);" %)Client(%%)**, (% style="color: rgb(255,102,0);" %)**Serveur**(%%)(%%)
15
16 (% style="color: rgb(0,0,0);" %)L'aide en ligne Adelia précise les informations retournées pour le mot réservé **(% style="color: rgb(255,102,0);" %)*USER(%%)** en fonction du type d'application Adelia.(%%)
17 (%%)
18 (((
19 == (% style="color: rgb(0,0,0);" %)Longueur et type retourné :(%%) ==
20 )))
21 (% style="text-align: left;" %)
22 |(((
23 Type application)))|(((
24 ADELIA)))|(((
25 VADELIA)))|(((
26 WADELIA)))|(((
27 SADELIA)))
28 |(((
29 Type plateforme)))|(((
30 )))|(((
31 )))|(((
32 )))|(((
33 )))
34 |(((
35 iSeries)))|(((
36 10 A)))|(((
37 10 A)))|(((
38 10 A)))|(((
39 10 A)))
40 |(((
41 Autres)))|(((
42 128 A)))|(((
43 128 A)))|(((
44 128 A)))|(((
45 128 A)))
46 (((
47 == Commentaires ==
48 )))
49
50 (% style="" %)
51 (% style="color: rgb(0,0,0);" %)Dans le cas des programmes **(% style="color: rgb(255,102,0);" %)VADELIA(%%)**, **(% style="color: rgb(255,102,0);" %)WADELIA(%%)** et **(% style="color: rgb(255,102,0);" %)SADELIA(%%)** :(%%)
52 * si ce mot réservé est placé dans une partie cliente d'un programme VADELIA, on obtient le (% style="color: rgb(255,102,0);" %)**profil Windows du poste**(%%) sur lequel la (% style="color: rgb(255,102,0);" %)**partie cliente**(%%) s'exécute ;
53 * s'il est placé dans une partie cliente d'un programme WADELIA, on obtient l'(% style="color: rgb(255,102,0);" %)**utilisateur authentifié via le protocole HTTP**(%%).
54 S'il n'y a pas d'authentification HTTP pour l'application Web, *USER vaut *BLANK ;
55 * s'il est placé dans une partie serveur, on obtient le (% style="color: rgb(255,102,0);" %)**profil de connexion Middleware**(%%) à cette partie serveur.
56
57