Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
8-46
USERNAMETOUSERID
(Superseded by USER_GETINFO_) Returns the user ID, from
$SYSTEM.SYSTEM.USERID, that is associated with a designated user name.
USESEGMENT
(Superseded by SEGMENT_USE_) Makes a particular extended data segment currently
addressable by the calling process.
VERIFY USER
(Superseded by USER_AUTHENTICATE_ and USER_GETINFO_) Controls logons,
verifies that a user exists, and returns user-defaults information.
CALL USERNAMETOUSERID ( name-id );
name-id, INT:ref:8 input, output
< (CCL) The value of name-id is out of bounds, or an I/O error
occurred in the $SYSTEM.SYSTEM.USERID file.
= (CCE) The designated user ID returned.
> (CCG) The specified user name is undefined.
old-segment-id := USESEGMENT ( segment-id );
old-segment-id, INT returned value
segment-id, INT:value input
< (CCL) The value of segment-id is not allocated,
or the segment cannot be used by a
nonprivileged caller.
= (CCE) The operation is successful.
CALL VERIFYUSER ( user-name-or-id
,[ logon ]
,[ default
,default-len ] );