Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.UTIL CHECK RBS | ||||||||
Line: 74 to 74 | ||||||||
-- JeanNeron - 2012-10-30 \ No newline at end of file | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.UTIL CHECK RBS | ||||||||
Line: 60 to 60 | ||||||||
For Fields:
| ||||||||
Added: | ||||||||
> > |
| |||||||
Returns
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
.UTIL CHECK RBS | ||||||||
Changed: | ||||||||
< < | This subroutine is called to check the security access for the specified user when Role Based Security is used. | |||||||
> > | This subroutine is called to check the security access for the specified user when Role Based Security is used. Added in 5.2.0 | |||||||
Usage: | ||||||||
Line: 21 to 21 | ||||||||
Different fields are required and returned in --- SECCHK, depending on whether you are checking Process or File/Field security. The common fields are: | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | This is the Record Id (RID) of the specific user/role to be checked. In RBS, a user may have more than one Role and you need to indicate which Role you want checked. To determine which RID to use, read 0SA SECUSER by user id (possibly in a BEG READ/END READ loop), and GOSUB 0SA R/S – LOAD HIERARCHY for each record. You can then check SECDB DATABASE ID and / or SECDEPT DESC and/or SECWG DESC and /or SECROLE DESC to see if this is the DB/Dept/Workgroup/Role you are interested in. If so, use SECUSER RID, otherwise read next SECUSER | |||||||
> > | This is the Record Id (RID) of the specific user/role to be checked. In RBS, a user may have more than one Role and you need to indicate which Role you want checked. To determine which RID to use, read 0SA SECUSER by user id (possibly in a BEG READ/END READ loop), and GOSUB 0SA R/S – LOAD HIERARCHY for each record. You can then check SECDB DATABASE ID and / or SECDEPT DESC and/or SECWG DESC and /or SECROLE DESC to see if this is the DB/Dept/Workgroup/Role you are interested in. If so, use SECUSER RID, otherwise read next SECUSER | |||||||
| ||||||||
Line: 37 to 37 | ||||||||
For Processes: | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Line: 45 to 45 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Returns a Y, N or Blank in the following fields: | |||||||
> > | Returns a Y, N or Blank in the following fields: | |||||||
| ||||||||
Changed: | ||||||||
< < | If a blank is returned, it means the flag will be inherited from some parent process at runtime. | |||||||
> > | If a blank is returned, it means the flag will be inherited from some parent process at runtime. | |||||||
Changed: | ||||||||
< < | For Files: | |||||||
> > | For Files: | |||||||
| ||||||||
Changed: | ||||||||
< < | Returns: | |||||||
> > | Returns: | |||||||
| ||||||||
Changed: | ||||||||
< < | For Fields: | |||||||
> > | For Fields: | |||||||
| ||||||||
Changed: | ||||||||
< < | Returns | |||||||
> > | Returns | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
.UTIL CHECK RBSThis subroutine is called to check the security access for the specified user when Role Based Security is used.Usage:PASS --- SECCHK RECORD FIELD SHARE? Y GOSUB --- .UTIL CHECK RBS * Check for errors IF --- .UTIL CHECK RBS NE Description:This subroutine is called to check the security access for the specified user when Role Based Security (RBS) is used. If you are not using Role Based Security, use .UTIL CHECK SECURITY instead. The --- SECCHK RECORD is a required parameter, if it is missing the subroutine will CANCEL. Using this subroutine, you can check to see if a specific user is allowed to run a specific process from a specific parent, or if the specific user has access to a record or field in a file.Different fields are required and returned in --- SECCHK, depending on whether you are checking Process or File/Field security. The common fields are:
This is the Record Id (RID) of the specific user/role to be checked. In RBS, a user may have more than one Role and you need to indicate which Role you want checked. To determine which RID to use, read 0SA SECUSER by user id (possibly in a BEG READ/END READ loop), and GOSUB 0SA R/S – LOAD HIERARCHY for each record. You can then check SECDB DATABASE ID and / or SECDEPT DESC and/or SECWG DESC and /or SECROLE DESC to see if this is the DB/Dept/Workgroup/Role you are interested in. If so, use SECUSER RID, otherwise read next SECUSER
Returns a Y, N or Blank in the following fields:
If a blank is returned, it means the flag will be inherited from some parent process at runtime.
For Files:
Returns:
For Fields:
Returns
Comments:Read what other users have said about this page or add your own comments.-- JeanNeron - 2012-10-30 |