The getuid callable service gets the real user ID (UID) of the calling process.
Operation | Environment |
---|---|
Authorization: | Supervisor state or problem state, any PSW key |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN = HASN |
AMODE (BPX1GUI): | 31-bit |
AMODE (BPX4GUI): | 64-bit |
ASC mode: | Primary mode |
Interrupt status: | Enabled for interrupts |
Locks: | Unlocked |
Control parameters: | All parameters must be addressable by the caller and in the primary address space. |
|
AMODE 64 callers use BPX4GUI.
The name of a fullword to which the getuid service returns the real user ID of the calling process.
If the getuid service fails, the process ends abnormally.
There are no restrictions on the use of the getuid service.
For an example using this callable service, see BPX1GUI (getuid) example.