Specifications

148 Chapter 9 Working with File Services
The computer responds with the following output:
afp:command = "disconnectUsers"
afp:messageSent = "<message>"
afp:timeStamp = "<time>"
afp:timerID = <disconnectID>
<user listing>
afp:status
= <status>
Canceling a User Disconnect
To cancel a disconnectUsers command, use the cancelDisconnect command with the
serveradmin tool. Users receive an announcement that they’re no longer scheduled to
be disconnected.
To cancel a user disconnect:
$ sudo serveradmin command
afp:command = cancelDisconnect
afp:timerID =
timerID
Control-D
minutes-until
The number of minutes between the time the command is
executed and the users are disconnected.
sessionidn
The session ID of a user you want to disconnect. To list the session
IDs of connected users, use the
getConnectedUsers command.
See “Viewing Connected Users” on page 146.
Parameter Description
Value Description
<message> The message sent to users in the disconnect announcement dialog.
<time> The time when the command was executed.
<disconnectID> An integer that identifies this disconnect. To cancel the disconnect,
use this ID with the
cancelDisconnect command.
<user listing> A standard array of user settings for each user scheduled for
disconnect. For a description of these settings, see “Viewing
Connected Users” on page 146.
<status> A command status code.
0 = command successful.
Parameter Description
timerID The integer value of the
afp:timerID parameter output when
you executed the
disconnectUsers command.
You can also find this number by listing a user scheduled to be
disconnected and looking at the value of the
disconnectID
setting for the user.