Guardian Procedure Calls Reference Manual

CREATORACCESSID Procedure (Superseded by PROCESS_GETINFOLIST_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Returned Value
Considerations
Example
Related Programming Manual
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The CREATORACCESSID procedure is used to obtain the creator access ID (CAID) of the process
that created the calling process.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
creator-access-id := CREATORACCESSID;
Returned Value
INT
The creator access ID (CAID) of the caller's creator in this form:
group number {0:255}<0:7>
member number {0:255}<8:15>
Considerations
Process access ID (PAID) compared with creator access ID (CAID)
For a given process, an access ID is a word in the process control block (PCB) that contains a
group number in the left byte and a member number in the right byte. There are two access IDs.
The creator access ID (CAID) is returned from the CREATORACCESSID procedure and identifies
the user who created the process. It is normally used, often with the PAID, for security checks
on interprocess operations such as stopping a process or creating a backup for a process.
The process access ID (PAID) is returned from the PROCESSACCESSID procedure and is used
to determine whether the process can make requests to the system, for example, to open a
file or to stop a process.
The PAID and the CAID usually differ only when a process is run from a program file that has the
PROGID attribute set. This attribute is usually set with the File Utility Program (FUP) SECURE command
and PROGID option. In such a case, the process access ID returned by PROCESSACCESSID is the
same as the NonStop operating system used ID of the program file's owner.
CREATORACCESSID Procedure (Superseded by PROCESS_GETINFOLIST_ Procedure) 243