Creating a new user id using the using the copy (option 2) in wrkusrprf (userid).

0 pts.
Tags:
AS/400
DataCenter
In this account we have several different situations that require us to create a new user using the the copy command from an existing user. This is very easy to do however, we have been tasked with after creating the new user, we have to do a "add directory entry" and "change object ower". Now I know if we change our assistance level to basic the directory entry will follow to the new user. Is that the same for the change object owner? The new owner will be JDE. Thanks for your help in this matter.
ASKED: January 6, 2006  11:28 AM
UPDATED: November 23, 2009  7:58 AM

Answer Wiki

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

The change of object owner is referring to the newly created user id.

Because you copy the user proflie, the authority given to that new user profile is that applicable to you by the QCRTAUT. Also the newly created profile will be owned by either your user profile (The creator) or your Group profile (the creator’s group profile.

So if your user id is QPGMRSMITH, and your Group profile is QPGMR, and the system value QCRTAUT has got *USE, and you create/copy a new profile NEWPRF, then NEWPRF will have PUBLIC authority of *USE (thanks to QCRTAUT) and will be owned by either QPGRSMITH (the creator) or QPGMR (The creator’s group profile) giving FULL access to its owner.

On the other hand, applications such as JDE, require to have full access to objects that it works with. Ownership of objects created by your new profile require to be fully accessable by JDE.

On the sample above, anything created by NEWPRF does not give proper access to JDE, therefore by changing the new owner to JDE, will give full access of the objects created by NEWPRF to JDE, thus allowing the application to function.

Private message me if you want.

Mutkey (Sydney)

Discuss This Question: 1  Reply

 
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
  • TomLiotta
    Use the switch profile APIs to execute the profile copies under a different current-user. It seems to me that the ideal current-user would be JDE. When the copies complete, release the current-user and switch back to job-user. Tom
    125,585 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