Difference: 0LASubrUtilSwitchUser (1 vs. 2)

Revision 22012-02-21 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"
Changed:
<
<

.CLIENT SWITCH USER

>
>

.UTIL SWITCH USER

  This subroutine changes to a different user.
Line: 8 to 8
 

Usage:

      PASS         <user_id>                  FIELD            SHARE? N
      PASS         <aux-password>             FIELD            SHARE? N

Changed:
<
<
GOSUB --- .CLIENT SWITCH USER
>
>
GOSUB --- .UTIL SWITCH USER
 
    • Check for errors
Changed:
<
<
IF --- .CLIENT SWITCH USER NE
>
>
IF --- .UTIL SWITCH USER NE
 

Description:

This subroutine changes to a different user. The change, if successful, is immediate and all subsequent processes will execute under the new user id. All parameters are required, if any are missing the subroutine will CANCEL.

Changed:
<
<
<user_id> is the O/S User Id you want to switch to (Required). Note that this is not the 3 characater Appx user id, but the O/S User Id.
>
>
<user_id> is the O/S User Id you want to switch to (Required). Note that this is not the 3 character Appx user id, but the O/S User Id.
  <aux_password> is the auxiliary password for this user (Required). You can set this password in Appx System Administration / Security / Users, then use the 'Change Aux Password' option. This password cannot be blank.
Line: 30 to 30
 
<--/commentPlugin-->

-- JeanNeron - 2012-02-21 \ No newline at end of file

Added:
>
>
META TOPICMOVED by="JeanNeron" date="1329857774" from="Main.0LASubrClientSwitchUser" to="Main.0LASubrUtilSwitchUser"

Revision 12012-02-21 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.CLIENT SWITCH USER

This subroutine changes to a different user.


Usage:

      PASS         <user_id>                  FIELD            SHARE? N
      PASS         <aux-password>             FIELD            SHARE? N
      GOSUB    --- .CLIENT SWITCH USER
      *        Check for errors
      IF       --- .CLIENT SWITCH USER        NE

Description:

This subroutine changes to a different user. The change, if successful, is immediate and all subsequent processes will execute under the new user id. All parameters are required, if any are missing the subroutine will CANCEL.

<user_id> is the O/S User Id you want to switch to (Required). Note that this is not the 3 characater Appx user id, but the O/S User Id.

<aux_password> is the auxiliary password for this user (Required). You can set this password in Appx System Administration / Security / Users, then use the 'Change Aux Password' option. This password cannot be blank.

The <aux_password> does not have to be the same as the user's O/S password (if they have one), however if it is different, the user will not be able to use the 'New Session' or Alt-F1 key combination to open a new session to the same server. It will fail because the passwords don't match, and they will have to manually log in.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2012-02-21

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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