AS/400 usrprf

1395 pts.
Tags:
AS/400
usrprf dsp
how can we display all the user by their userclass?

Answer Wiki

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

Discuss This Question: 6  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
  • TomLiotta
    all the user by their userclass? CharlieBrowne's answer is correct, but it might not be what you really need. What is the business problem that you're trying to solve? The USRCLS() attribute only has two purposes. First, it can supply default special authorities for CRTUSRPRF and CHGUSRPRF if (and only if) you also use SPCAUT(*USRCLS). Second, IBM menus may condition the appearance of menu options on USRCLS(). The USRCLS() attribute does not grant any authorities. Even if a menu option is not shown, the user can still run the function behind the menu if that user has the appropriate authority, regardless of USRCLS(). The attribute has no effect on what the user can do unless you create programming that explicitly tests it. Tom
    125,585 pointsBadges:
    report
  • Rajasekhar15
    so tom u say that other than programming we can't dsply userclass using command.,
    1,395 pointsBadges:
    report
  • Harisheldon1960
    Ummm, that was cold taking my avatar without even a may I or a thank you please... Cold, very cold...
    1,420 pointsBadges:
    report
  • CharlieBrowne
    I believe Tom was saying that you USE the USRCLS without programming. But you can still display the values as I described.
    41,370 pointsBadges:
    report
  • TomLiotta
    we can’t dsply userclass No. Maybe I can clarify. You can display it. I was trying to be sure that you had a reason for displaying it. Since it isn't useful for much of anything, it shouldn't be relied upon. It is possible that what you really need to look at are special authorities instead of user class. User class doesn't really tell you anything. The actual power is in the special authorities of users (and of their groups). You can definitely display user class. You can list profiles to a file and query the file ordered by user class. But that doesn't give you much useful information. So I asked about what use you wanted to make of it. That is, what is the business problem that needs the information? If we know what the problem is, we might have a better solution. Tom
    125,585 pointsBadges:
    report
  • Rajasekhar15
    [...] Rajasekhar15 is trying to display all the users in a class, and the community helps [...]
    0 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