P_RESERVEDBY
code: 103
# get
<module-index>/<port-index> P_RESERVEDBY ?
Description
Identify the user who has a port reserved. The empty string if the port is not
currently reserved. Note that multiple connections can specify the same name
with C_OWNER, but a resource can only be reserved to one connection. Therefore
you cannot count on having the port just because it is reserved in your name.
The port is reserved to this connection only if P_RESERVATION
returns
RESERVED_BY_YOU
.
Actions
get
Parameters
username
: string, the username of the user who has the port reserved.
Example
# get
input: 0/1 P_RESERVEDBY ?
output: 0/1 P_RESERVEDBY 'peter-parker'