Tags:
view all tags
---+ .UTIL ADD USER _This subroutine adds a user to the Appx User file._ <br />%TOC% ---++ Usage: <pre> PASS <error_msg> FIELD SHARE? Y PASS 0SA USER RECORD FIELD SHARE? N GOSUB --- .UTIL ADD USER * Check for errors IF --- .UTIL ADD USER NE </pre> ---++ Description: This subroutine adds a user to the Appx User file. All parameters are required, if any required parameters are missing, the subroutine will CANCEL. <error_msg> will contain a detailed error message if the user was not able to be added (Required). This must be PASSed Share "Y" to return the value. 0SA USER RECORD is the record structure containing the user information (Required). The rules for required fields are different depending on whether the current user is an Appx System Administrator or not. If they are not a System Admin, then some fields must either be blank or they must contain the same information as the current user. In other words, they can only set up new users that will have the same settings. For example, they cannot set up a System Administrator unless they are also a System Administrator. The fields are: USER ID:<span style="white-space: pre;"> </span>The 3 character Appx User Id USER SA:<span style="white-space: pre;"> </span>Y if the new user is a System Admin, N if not. Can only be Y if the current user is an Appx System Administrator. USER SYS ID: The O/S user id. USER NAM:<span style="white-space: pre;"> </span>The user's name. USER ALPHA SORT: A character string for sorting the User file (optional). USER PROF:<span style="white-space: pre;"> </span>The security profile. If the new user is not a System Admin leave this blank and it will be set to the same profile as the current user. USER INIT DB:<span style="white-space: pre;"> </span>The startup database. USER INIT AP:<span style="white-space: pre;"> </span>The startup application. USER INIT TYPE:<span style="white-space: pre;"> </span>The startup process type. USER INIT NAM:<span style="white-space: pre;"> </span>The startup process name. If the current user is not a System Admin, then the above 4 fields should either be blank, or the same as the current user. If the current user is a System Administrator, then these can be filled in as required. Valid combinations are USER INIT DB only, or USER INIT DB and USER INIT AP only, or all 4 fields. <div id="_mcePaste">USER INIT SRC AP:<span style="white-space:pre"> </span>For designers, the application id to start App Design with (optional). If specified, you must also supply the next field.</div> USER INIT SRC VER:<span style="white-space:pre"> </span>For designers, the version to start App Design with (optional). If specified, you must also supply the previous field. USER EM CACHE LEVEL:<span style="white-space:pre"> </span>The Em Cache Level (optional). USER EM MAX CACHE:<span style="white-space:pre"> </span>The maximum number of cached Ems (optional).<span style="white-space:pre"> </span> USER LOGPROF:<span style="white-space:pre"> </span>If you want to track the activity of this user, supply a valid Log Profile name (optional). USER DEF LANG ID:<span style="white-space:pre"> </span>The default Language Id (optional). USER RPT SCR:<span style="white-space:pre"> </span>Default value for view reports on screen (Y/N) (optional). USER RPT HCPY:<span style="white-space:pre"> </span>Default value for printing reports on the printer (Y/N) (optional). USER RPT NOTIFY:<span style="white-space:pre"> </span>Default value for notifying the user when the report is printed (Y/N) (not implemented) (optional). USER RPT MODE:<span style="white-space:pre"> </span>Default value for Report Print Mode (HOLD, KEEP, SPOOL) (optional). USER RPT DISP:<span style="white-space:pre"> </span>Default value for Report Disposition (REQUEUE, SAVE, SCRATCH) (optional). USER RPT CPYS:<span style="white-space:pre"> </span>Default value for number of copies (optional). USER RPT PRIOR: Default value for print priority (optional). USER RPT PRTR:<span style="white-space:pre"> </span>The user's default printer for reports (optional). USER RPT FORM:<span style="white-space:pre"> </span>The user's default form for reports (optional). USER LOG SCR: Default value for view logs on screen (Y/N) (optional). USER LOG HCPY: Default value for printing reports on the printer (Y/N) (optional). USER LOG NOTIFY: Default value for notifying the user when the log is printed (Y/N) (not implemented) (optional). USER LOG MODE:<span style="white-space:pre"> </span>Default value for Log Print Mode (HOLD, KEEP, SPOOL) (optional). USER LOG DISP:<span style="white-space:pre"> </span>Default value for Log Disposition (REQUEUE, SAVE, SCRATCH) (optional). USER LOG CPYS: Default value for number of copies (optional). USER LOG PRIOR: Default value for print priority (optional). USER LOG PRTR:<span style="white-space: pre; "> </span>The user's default printer for reports (optional). USER LOG FORM:<span style="white-space: pre; "> </span>The user's default form for reports (optional). Also see <span style="color: blue; text-decoration: underline;">[[0LASubrUtilChgUser][.UTIL CHG USER]]</span> and <span style="color: blue; text-decoration: underline;">[[0LASubrUtilChgAuxPass][.UTIL CHG AUX PASS]]</span>. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-02-22
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2012-02-27
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback