[menubar menu=(_topmenu$) class=font_125]

[ttl]User Maintenance[/ttl][show info_msg$ class="infobox show_till_change"]

[form program=*account][section half]

User Name: | [input UserName$ required validate event=show_user len=24 size=20 query=("*webster/scrnlib.en;Users"+tbl(%webster'UseNomadsSecurity=1,"","_nom")) format="pattern:^\[a-zA-Z\]\[a-zA-Z0-9-_\.\]{2,23}$" tip="Username must be between 3 and 24 characters; start with a letter and contain letters, numbers, dot, dash, or underscore."] [if bad_name]User name in use/invalid[/if][show "User #:"+stp(UserRID$,0,"0") class=float_right]

[/section][section half][/section][section half][subttl]User information[/subttl]

First Name: | [input FirstName$ (namefocus$) size=20]
Last Name: | [input LastName$ size=20]
Password: | [input UserPswd1$ type=password format=("pattern:"+%webster'PswdRegExp$) len=50 size=30 tip=(%webster'PswdTip$)] [if bad_pswd]Invalid password[/if]
Re-enter Password: | [input UserPswd2$ type=password format=("pattern:"+%webster'PswdRegExp$) len=50 size=30 tip=(%webster'PswdTip$)] [if err_different]Not the same as above[/if]
Email Address: | [input UserEmail$ type=email size=40] [if dup_email]Email already in use[/if][if bad_email]Valid email address required[/if]
Cell Phone Number: | [input UserSMS$ len=12 autocomplete=__off] (used for two-step verification)
Company: | [input Company$ size=30] (optional)
Default template: | [input Template$ size=40] (optional)
User Start page: | [input StartPage$ size=40] (optional)
Security Group: | [if isAdmin and not(%webster'UserName$ = UserName$)][list GroupName$ query=*webster/scrnlib.en;groups drop][/list][else][input GroupName$ locked][/if]
[if %webster'hasEmail or %webster'hasSMS]Two-step Verification: | [list TwoStepPreference$][data valsep="="] Don't use=N Use on new device=Y Always use=A [/data][/list]
[/if]Disabled: | [checkbox disabled][/checkbox]

[/section][section half][subttl]User status[/subttl]

User created: | [show Created$]
Last signon: | [show LastSignon$]
Last known IP address: | [show LastSignonIP$]
Email verified: | [show EmailVerified$]
SMS verified: | [show SMSVerified$]

[/section]

[button validate event=user_update][symbol save] Save[/button] [button event=user_delete][symbol trash] Delete[/button] [button event=show_user][symbol recycle] Reset[/button]

[/form]