|
Check privilege function logic |
|
This topic explains the logic for checking user privileges. There are two reasons why a user may not have a privilege:
In the first case, if check_privilege finds that the user is not logged in, it returns FALSE and redirects the user's browser to the Single Sign-On Server so the user can log on. In the second case, the user should be informed that they do not have the required privilege. The following example checks whether a user has the EXECUTE privilege on an object: procedure display_user_mgr
|
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |