Difference: 0LASubrUtilSecrRest ( vs. 1)

Revision 12019-09-26 - JeanNeron

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

.UTIL SECR REST

This subroutine will restore the Security codes for the selected application(s) from the archive. Release 5.5 and higher only


Usage:

      PASS         <count>                    FIELD            SHARE? Y
      PASS         <app_id>                   FIELD            SHARE? N
      PASS         <version>                  FIELD            SHARE? N
      GOSUB    --- .UTIL SECR REST
      *        Check for errors
      IF       --- .UTIL SECR REST            NE

Description:

This subroutine will restore the Security codes for the selected application(s) from the archive. This is the same as running System Administration -> Security Management -> Application Security, then using 'Post Security Codes from Archive' under the Utiliites menu.

<count> returns a count of the number of records restored. You can use this to confirm codes were restored (Optional).

<app_id> is the application whose codes you want to restore (Optional). If you PASS a blank, then all applications in <version> will be restored.

<version> is the version of application whose codes you want to restore (Optional). If you PASS a blank, then all versions of <app_id> will be restored.

If both <app_id> and <version> are blank, then all applications and all versions will be restored.

If security codes were restored to a Data Dictionary (ie, Domain, File or Field level), then the Data Dictionary will be processed for that application. This will occur individually for each application, and the user will have to press Enter to continue to the next application.

See .UTIL SECR SAVE to archive security codes.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2019-09-26

 
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