[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NNETLGUSER()
Determines the users that are currently logged in on a file server
------------------------------------------------------------------------------
Syntax
NNETLGUSER([<cServer>|<nConId>]) --> aUserListe
Netware: 2.2 and 3.11
Arguments
<cServer> Designates the name of the file server for which the
logged in users are determined. Your workstation must be attached to
<cServer>.
<nConId> Designates the connection ID of your workstation on
<cServer>. If no file server is specified, the function uses the
default server.
Returns
NNETLGUSER() returns a one-dimensional array. Each array element
contains a user name.
Description
NOVELL NET LOGGED USER
NNETLGUSER() allows you to determine all the users currently logged in
on the specified file server. The file server can be specified by its
name or its connection ID. The connection ID of a server is returned by
NNETATTACH() or NNETLOGIN().
The function NNETLGUSER() requires that the requesting user be logged in
on the related file server. If the requesting user is not logged in on
the related file server, the function returns an empty array.
All users on a file server can be determined with the function
NNETUSERS().
Example
Display a list of the users currently logged in on file server
NANGERTOOLS2:
aList:=NNETLGUSER('NANGERTOOLS2')
FOR i = 1 TO LEN(aList)
? aList[i]
NEXT i
See Also:
NNETUSERS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson