215 pts.
 User profile exemption
Hi,

1. I would like to inquire if there is a way to exempt a user profile from a disabling, my system QMAXSIGN is 3.

2. Can I recreate a profile like QSECOFR, that can be logged in even disabled on the Controller / Main Display.

3. Is there a way that a single user profile have more than one group profile assigned?

Thank you



Software/Hardware used:
ASKED: April 30, 2012  1:42 AM
UPDATED: May 2, 2012  8:05 AM
  Help
 Approved Answer - Chosen by iNewbie (Question Asker)

Here is the link to Bruce Vining's article on the topic.

    http://www.mcpressonline.com/programming/apis/the-api-corner-re-enable-disabled-user-profiles.html

You really need some programming skills to make heads and tails of this. It is not like installing MS Excel on your PC.

ANSWERED:  May 1, 2012  5:58 PM (GMT)  by iNewbie

 
Other Answers:

In 2009 Bruce Vining posted a good how-to article about using the STRWCH feature along with a nice program example. We adapted his example to watch for specific users being disabled and automatically re-enable them. In our case, this is a generic user profile that all use to clock in and out. It has very limited privileges.

Some programming skills will be required. Can anyone at your shop help?

Last Wiki Answer Submitted:  April 30, 2012  6:33 pm  by  WoodEngineer   5,525 pts.
Latest Answer Wiki Contributors:  WoodEngineer   5,525 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

1. I would like to inquire if there is a way to exempt a user profile from a disabling, my system QMAXSIGN is 3.

QSECOFR is the only such profile. However, you can have programming that monitors for the disabling event. Your program can then decide to reenable the profile, based on whatever rules you create. You can also create programming that reenables any profile on request.

2. Can I recreate a profile like QSECOFR, that can be logged in even disabled on the Controller / Main Display.

No.

3. Is there a way that a single user profile have more than one group profile assigned?

Yes. A profile may belong to a primary group and up to 15 supplemental groups. Use the SUPGRPPRF() parameter to add supplemental groups.

Tom

 108,260 pts.

 

Thank you Tom.

As of now I don’t have any programming skills on iSeries, how is the program executed? Is it always polling to check whether the profile is disabled or polling for all profiles? If it is not too much, maybe somebody could help me write the program.

Thank you in advance.

 215 pts.

 

Setting a ‘watch’ monitor is an excellent way to set up a monitor (assuming the system is reasonably current). Bruce Vining’s articles are about as authoritative as such things get.

Tom

 108,260 pts.

 

This might be overkill, but I developed an application called Profile Manager which supports the automatic re-enablement of user profiles (with a whole bunch of nice features that you may not care about). The product is priced assuming rather large systems, but if you are interested and have a small system feel free to contact me offline.

Bruce Vining

 6,055 pts.

 

Thank you Tom, WoodEngineer and Bvining for the overwhelming responses. I’ll check on this.

@Bvining, I’ll consult this with my heads, since we are bound by procurement stuff within our country.

 215 pts.

 

any disabled user can sign on in case we started in Manual Mode

 355 pts.