Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-176
CREATORACCESSID Procedure
(Superseded by PROCESS_GETINFOLIST_
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
Guardian user ID of the program file’s owner.
Both the PAID and the CAID are returned from the PROCESS_GETINFO[LIST]_
procedures. See the
Guardian Programmers Guide for information about process
access IDs.
Example
CREATOR^ID := CREATORACCESSID;
Related Programming Manual
For more information about the creator accessor ID (CAID), refer to the Guardian
User’s Guide.