Showing posts with label Authorisation Schemes. Show all posts
Showing posts with label Authorisation Schemes. Show all posts

Monday, 7 February 2011

Using APEX Authorisation Schemes In PLSQL

APEX allows the developer to define multiple authorization schemes for use throughout the application. Unfortunately APEX, by default, only allows the use of these schemes in certain areas. For example to decide whether a user can see a specific page



or whether a specific page item should be displayed



Luckily there is a way to use the authorization in PLSQL, this is done using the following code

v_bool := apex_util.public_check_authorization('AUTHORIZATION_NAME');

The authorization scheme can now be used on its own, or in a combination with other schemes, as well as being part of more complex logic
Apex Monkeys © 2008. Design by :Yanku Templates Sponsored by: Tutorial87 Commentcute Software blogs Computers Blogs