The UPMEUSRL API returns a list of logged-on user IDs. You can use this API to get all user IDs logged on at a particular local machine, without having to specify a server name. The type of user IDs returned depends on the remotetype input parameter.
Restrictions
A call to this API can be issued only from an OS/2 application to the local computer.
To use this API, you must be linked to the UPM.LIB library.
#include <upm.h> LSINT LSFAR LSPAS UPMEUSRL(pszRemotename, remotetype, buf, usBuflen, pusEntriesReturned, pusEntriesAvail); /* 16 bit */ LSINT LSFAR LSPAS U32EUSRL(pszRemotename, remotetype, buf, ulBuflen, pulEntriesReturned, pulEntriesAvail); /* 32 bit */Parameters
See Common Parameter Definitions for descriptions of parameters not defined here.
pszRemotename