Copying user profiles from a partition to another

260 pts.
Tags:
AS/400
Security
Users
We have 2 partitions and need to copy all user profiles from one to another. What is the best way (also fastest)? Thanks for the help! John

Answer Wiki

Thanks. We'll let you know when a new response is added.

You normally would save the *USRPRFs using SAVSECDTA or the QSRSAVO API and then restore the profiles using RSTUSRPRF. This would generally be a one time effort.

To keep the profiles in synch across the partitions you can use various APIs and exits which allow you to know when a profile has changed (or a new one created) and then propogate the changes to one or more other system/partitions. The Security related APIs and exits can be found <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/sec1.htm”>here</a> and the Save Object API <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qsrsavo.htm”>here</a>. The book APIs at Work Second Edition (which I do have a financial interest in) also discusses this very scenario in Chapter 12 – Security APIs.

Another possible way to keep the profiles synchronized is with <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaih/rzaihuseradmin.htm”>Management Central</a>.

Bruce Vining
<a href=”http://www.brucevining.com/”>http://www.brucevining.com/</a>
Integrated solutions for the System i user community

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jerry Lees
    Bruce is correct. Robocopy is a windows tool and won't work with the i5. (sorry buddyfarr)
    5,335 pointsBadges:
    report
  • Buddyfarr
    You both are correct. I had my windows brain on at the time. sorry for the misleading information. I need to get more sleep and read the information more thouroughly before answering. Thanks for the correction.
    6,850 pointsBadges:
    report
  • JAC
    Thanks everyone.... John
    260 pointsBadges:
    report
  • Gilly400
    Hi, If you use the SAVSECDTA route, you could save the *SECDTA to a *SAVF, then FTP or SNDNETF from one partition to the other to restore (depending on how you have the partitions setup for comms. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following