[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETGROUPS()
 Queries the user groups on a file server
------------------------------------------------------------------------------
 Syntax

     NNETGROUPS([<cServer>|<nConId>],[<cMask>])
        --> aGroupList

     Netware: 2.2 and 3.11

 Arguments

     <cServer>  Designates the name of the file server for which the user
     groups 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.

     <cMask>  Designates a search mask that can contain the wildcard
     characters "?" and "*".  The default value ("*") designates that all
     user groups are determined.

 Returns

     NNETGROUPS() returns a one-dimensional array.  Each array element
     contains the name of a user group.

 Description

     NOVELL NET GROUPS
     NNETGROUPS() allows you to determine all the user groups established on
     a file server.  The file server can be specified either by its name or
     its connection ID.  The connection ID of a server is returned by
     NNETATTACH() or NNETLOGIN().

     To achieve results with this function, the requesting user must 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.

 Example

     Display all user groups on the file server NANGERTOOLS2:

     AEVAL(NNETGROUPS('NANGERTOOLS2'),{|x|QOUT(x)})

See Also: NNETLGUSER() NNETUSERS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson