Skip to Content
Former Member
Sep 21, 2006 at 08:15 PM

Help with Auth Checks for list of values


I am wondering if anyone out there has used authorization checks when pre-screening a list of values to present to an end user, and if so, how.

For example: We are creating an interface for end users that will allow them update certain pieces of an Invoice line item. When presenting the user with a drop-down list of Cost Centers we would like to be able to pre-screen the list and only display the list of values that the particular user is authorized to post to.

As of right now, the only way that I can think of to accomplish this is to loop through the list of possibilities and perform Auth Checks for each value and then flag them as display or not. Once that is done, loop through the table of results and display only the Cost Centers they have authorization in. This process seems pretty cumbersome and resource intensive. Does anyone else have a better way to go about this that I'm not considering?

Thank you in advance for your time.


p.s. Points will always be rewarded for helpful answers.