Display Network Server Users (DSPNWSUSR)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Display Network Server Users (DSPNWSUSR) command allows a user to retrieve a list of all of the logged on users of a particular server. This command can be used to display logged on users for an individual NetWare server.

Output is directed to a display or a spooled printer file as indicated by the OUTPUT parameter and job type.

Top

Parameters

Keyword Description Choices Notes
SERVER Server Character value Required, Positional 1
SVRTYPE Server type *NWSUSRA, *NWSA, *NETWARE Optional, Positional 2
OUTPUT Output *, *PRINT Optional
Top

Server (SERVER)

Specifies the name of a network server.

server-name
Specify the name of a specific, active server defined for the network.
Top

Server type (SVRTYPE)

Specifies the server type to use when displaying users.

*NWSUSRA
The server type specified in the network server user attributes (CHGNWSUSRA command) for the user profile running the DSPNWSUSR command is used to display the network users.
*NWSA
The network server type specified in the network server attributes (CHGNWSA command) is used to display the network users.
*NETWARE
Only those NetWare users associated with the specified network server are displayed.
Top

Output (OUTPUT)

Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output.

*
Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT
The output is printed with the job's spooled output.
Top

Examples

DSPNWSUSR   SERVER(NWS1)  SVRTYPE(*NETWARE)

The above command will allow you to display all of the NetWare users currently active for the server named NWS1. If NWS1 does not exist or is not active, an error message ('server NWS1 not found' or 'server NWS1 not active') will be returned.

Top

Error messages

*ESCAPE Messages

CPFA43C
Network server users not displayed.
Top