Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetusers()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETUSERS()
 Determines the users on a file server
------------------------------------------------------------------------------
 Syntax

     NNETUSERS([<cServer>|<nConId>],[<cMask>])
        --> aUserListe

     Netware: 2.2 and 3.11

 Arguments

     <cServer>  Designates the name of the file server for which the
     users are determined.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.  If no server is specified, the function uses the default
     server.  .

     <cMask>  Designates a search mask that can contain the wildcard
     characters  "?" and "*".  The default character "*" indicates that all
     users are determined.

 Returns

     NNETUSERS() returns a one-dimensional array.  Each array element
     contains a user name.

 Description

     NOVELL NET USERS
     NNETUSERS() allows you to determine all the users of a file server.  The
     file server can be specified by either its name or its connection ID.
     The connection ID of a server is returned by NNETATTACH() or
     NNETLOGIN().

     In order to achieve results with this function, the requesting user must
     be currently logged in on the specified file server.  If the requesting
     user is not currently logged in on the specified file server, the
     function returns an empty array.

     The users currently logged in on a file server can be determined with
     the function NNETLGUSER().

 Example

     Display a list of all the users on file server NANGERTOOLS2:

     aList=NNETUSERS('NANGERTOOLS2')
     FOR i = 1 TO LEN(aList)
     ? aList[i]
     NEXT i

See Also: NNETLGUSER() NNETGROUPS()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson