1 /* BEGIN INCLUDE FILE mrds_authorization.incl.pl1 - - 81-01-20 Jim Gray */
 2 
 3 /* HISTORY:
 4 
 5    81-01-20 Jim Gray : original created for the mmi_$get_authorization interface
 6 
 7 */
 8 
 9 /* DESCRIPTION:
10 
11    this structure returns the callers user_class
12    either database administrator or normal user.
13    Note that these separate classes were used to allow
14    future expansion to the user classes, rather than
15    make them logical "not"'s of one another.
16    NOTE: a DBA is always also a normal user, thus if the caller
17    is a DBA, his normal_user bit will be on also.
18 
19 */
20 
21 
22 declare 1 mrds_authorization aligned based (mrds_authorization_ptr),
23         2 version fixed bin,                                /* version number of this structure */
24         2 administrator bit (1) unal,                       /* caller is a DBA */
25         2 normal_user bit (1) unal,                         /* caller has no special priviledges */
26         2 mbz bit (34) unal ;
27 
28 
29 declare  mrds_authorization_ptr ptr ;                       /* pointer for referring to the structure */
30 
31 declare  mrds_authorization_structure_version fixed bin init (1) int static options (constant) ;
32 
33 /* END INCLUDE FILE mrds_authorization.incl.pl1 */