.UTIL CHECK SECURITY
This subroutine is called to check the security code for the specified user.
Usage:
PASS <result> FIELD SHARE? Y
PASS <sec_class> FIELD SHARE? N
PASS <user_id> FIELD SHARE? N
PASS <database_id> FIELD SHARE? N
PASS <oper_phase> FIELD SHARE? N
GOSUB --- .UTIL CHECK SECURITY
* Check for errors
IF --- .UTIL CHECK SECURITY NE
Description:
This subroutine is called to check the security code for the specified user. All parameters are required, except for <oper_phase>. If any required parameters are missing, the subroutine will CANCEL.
<result> will contain Y or N, depending on the setting of the specified security code (Required). This must be PASSed Share "Y" to return the value.
<sec_class> is the security class to be tested, from 1-9999 (Required).
<user_id> is the user to be tested (Required).
<database_id> is the database to be tested (Required).
<oper_phase> is the operational phase to be tested (Optional). If not passed, it will default to the operational phase of the current application. If passed, it must be one of Live Operations, Initial Set Up or Recovery Processing.
If you are using Role Based Security, use
.UTIL CHECK RBS instead.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2012-01-27