summaryrefslogtreecommitdiff
path: root/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerVfr.Vfr
blob: d094d78a7625d497f62ff7caa3ae3283fb6e2206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/** @file
  User Profile Manager formset.

Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials 
are licensed and made available under the terms and conditions of the BSD License 
which accompanies this distribution.  The full text of the license may be found at 
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

**/

#include "UserProfileManagerData.h"

#define USER_MANAGER_CLASS       0x00
#define USER_MANAGER_SUBCLASS    0x04

formset 
  guid     = USER_PROFILE_MANAGER_GUID,
  title    = STRING_TOKEN(STR_FORMSET_TITLE),  
  help     = STRING_TOKEN(STR_TITLE_HELP),
  class    = USER_MANAGER_CLASS,
  subclass = USER_MANAGER_SUBCLASS,
    
  // User manager form
  form formid = FORMID_USER_MANAGE,
    title     = STRING_TOKEN(STR_USERMAN_TITLE);

    label LABEL_USER_MANAGE_FUNC;
    label LABEL_END;

    suppressif TRUE;
      text
        help   = STRING_TOKEN(STR_NULL_STRING),
        text   = STRING_TOKEN(STR_NULL_STRING),
          text   = STRING_TOKEN(STR_NULL_STRING),
        flags  = INTERACTIVE,
        key    = QUESTIONID_USER_MANAGE;
    endif;
     
  endform;
  
  // Modify user profile form
  form formid = FORMID_MODIFY_USER,
    title     = STRING_TOKEN(STR_MODIFY_USER_TITLE);

    label LABEL_USER_MOD_FUNC;
    label LABEL_END;

  endform;
  
  // Delete user profile form
  form formid = FORMID_DEL_USER,
    title     = STRING_TOKEN(STR_DELETE_USER_TITLE);
  
    label LABEL_USER_DEL_FUNC;
    label LABEL_END;
    
    subtitle 
      text   = STRING_TOKEN(STR_NULL_STRING);
  endform;
  
  //
  // User profile information form
  //
  form formid = FORMID_USER_INFO,
    title     = STRING_TOKEN(STR_USER_INFO);

    text 
      help   = STRING_TOKEN(STR_USER_NAME_VAL),  
      text   = STRING_TOKEN(STR_USER_NAME),
      flags  = INTERACTIVE,
      key    = KEY_MODIFY_USER_NAME;
      
    text 
      help   = STRING_TOKEN(STR_CREATE_DATE_VAL),  
      text   = STRING_TOKEN(STR_CREATE_DATE);
      
    text 
      help   = STRING_TOKEN(STR_USAGE_DATE_VAL),  
      text   = STRING_TOKEN(STR_USAGE_DATE);
      
    text 
      help   = STRING_TOKEN(STR_USAGE_COUNT_VAL),  
      text   = STRING_TOKEN(STR_USAGE_COUNT);
      
    label LABEL_USER_INFO_FUNC; 
    label LABEL_END;

  endform;
  
  //
  // Identify policy modify form
  //
  form formid = FORMID_MODIFY_IP,
    title     = STRING_TOKEN(STR_IDENTIFY_POLICY);

    text 
      help   = STRING_TOKEN(STR_IDENTIFY_POLICY_HELP),
      text   = STRING_TOKEN(STR_IDENTIFY_POLICY),
        text   = STRING_TOKEN(STR_IDENTIFY_POLICY_VALUE);
      
    label LABEL_IP_MOD_FUNC;
    label LABEL_END;
    
    text 
      help   = STRING_TOKEN(STR_ADD_OPTION_HELP),  
      text   = STRING_TOKEN(STR_ADD_OPTION),
      flags  = INTERACTIVE,
      key    = KEY_ADD_LOGICAL_OP;
      
    subtitle 
      text   = STRING_TOKEN(STR_NULL_STRING);

    goto FORMID_USER_INFO,
      prompt  = STRING_TOKEN(STR_SAVE),
      help    = STRING_TOKEN(STR_IDENTIFY_SAVE_HELP),
      flags   = INTERACTIVE,
      key     = KEY_IP_RETURN;
      
  endform;
  
  //
  // Access policy modify form
  //
  form formid = FORMID_MODIFY_AP,
    title     = STRING_TOKEN(STR_ACCESS_POLICY);

    label LABEL_AP_MOD_FUNC;
    label LABEL_END;

    goto FORMID_LOAD_DP,
      prompt  = STRING_TOKEN(STR_LOAD),
      help    = STRING_TOKEN(STR_LOAD_HELP),
      flags   = INTERACTIVE,
      key     = KEY_LOAD_DP;

    goto FORMID_CONNECT_DP,
      prompt  = STRING_TOKEN(STR_CONNECT),
      help    = STRING_TOKEN(STR_CONNECT_HELP),
      flags   = INTERACTIVE,
      key     = KEY_CONN_DP;

    subtitle 
      text   = STRING_TOKEN(STR_NULL_STRING);
   
    goto FORMID_USER_INFO,
      prompt  = STRING_TOKEN(STR_SAVE),
      help    = STRING_TOKEN(STR_ACCESS_SAVE_HELP),
      flags   = INTERACTIVE,
      key     = KEY_AP_RETURN;
    
  endform;

  //
  // Load device path form
  //
  form formid = FORMID_LOAD_DP,
    title     = STRING_TOKEN(STR_LOAD);

    goto FORMID_PERMIT_LOAD_DP,
      prompt  = STRING_TOKEN(STR_LOAD_PERMIT),
      help    = STRING_TOKEN(STR_LOAD_PERMIT_HELP),
      flags   = INTERACTIVE,
      key     = KEY_LOAD_PERMIT;
    
    goto FORMID_FORBID_LOAD_DP,
      prompt  = STRING_TOKEN(STR_LOAD_FORBID),
      help    = STRING_TOKEN(STR_LOAD_FORBID_HELP),
      flags   = INTERACTIVE,
      key     = KEY_LOAD_FORBID;
 
  endform;
  
  //
  // Permit load device path form
  //
  form formid = FORMID_PERMIT_LOAD_DP,
    title     = STRING_TOKEN(STR_LOAD_PERMIT);
  
    label LABEL_PERMIT_LOAD_FUNC;
    label LABEL_END;
  
    subtitle 
      text   = STRING_TOKEN(STR_NULL_STRING);

  endform;
  
  //
  // Forbid load device path form
  //
  form formid = FORMID_FORBID_LOAD_DP,
    title     = STRING_TOKEN(STR_LOAD_FORBID);
  
    label LABLE_FORBID_LOAD_FUNC;
    label LABEL_END;
   
    subtitle 
      text   = STRING_TOKEN(STR_NULL_STRING);

  endform;
  
  //
  // Connect device path form
  //
  form formid = FORMID_CONNECT_DP,
    title     = STRING_TOKEN(STR_CONNECT);

    goto FORMID_PERMIT_CONNECT_DP,
      prompt  = STRING_TOKEN(STR_CONNECT_PERMIT),
      help    = STRING_TOKEN(STR_CONNECT_PERMIT_HELP),
      flags   = INTERACTIVE,
      key     = KEY_CONNECT_PERMIT;
      
    goto FORMID_FORBID_CONNECT_DP,
      prompt  = STRING_TOKEN(STR_CONNECT_FORBID),
      help    = STRING_TOKEN(STR_CONNECT_FORBID_HELP),
      flags   = INTERACTIVE,
      key     = KEY_CONNECT_FORBID;
      
  endform;
  
  //
  // Permit connect device path form
  //
  form formid = FORMID_PERMIT_CONNECT_DP,
    title     = STRING_TOKEN(STR_CONNECT_PERMIT);
     
    subtitle 
      text   = STRING_TOKEN(STR_NULL_STRING);

  endform;
  
  //
  // Forbid connect device path form
  //
  form formid = FORMID_FORBID_CONNECT_DP,
    title     = STRING_TOKEN(STR_CONNECT_FORBID);
     
   subtitle 
     text   = STRING_TOKEN(STR_NULL_STRING);

  endform;
  
endformset;