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>nnetusingr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETUSINGR()
 Determines the users that are members of a group
------------------------------------------------------------------------------
 Syntax

     NNETUSINGR(<cGroup>,[<cServer>|<nConId>]) --> aUserList

     Netware: 2.2 and 3.11

 Arguments

     <cGroup>  Designates the group for which the members are determined.

     <cServer>  Designates the name of the file server on which <cGroup>
     is established.  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.

 Returns

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

 Description

     NOVELL NET USERS IN GROUP
     To improve organization and simplify user access to file server
     resources, you can create user groups under Novell Netware.  Each user
     can be a member of one or more groups.  With the function NNETUSINGR(),
     all the members of a user group can be determined.

     This function 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.

 Example

     Display all the users that are members of the STONES group on the
     current file server:

     aList:=NNETUSINGR('STONES')
     FOR i = 1 TO LEN(aList)
     ? aList[i]
     NEXT i

See Also: NNETGROUPS() NNETGRPMEM() NNETINGRPS()

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