[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NNETINGRPS()
Determines the groups to which a user belongs
------------------------------------------------------------------------------
Syntax
NNETINGRPS(<cUser>[,<cServer>|<nConId>]) --> aGroupList
Netware: 2.2 and 3.11
Arguments
<cUser> Designates the name of the user whose group membership is
determined.
<cServer> Designates the name of the file server on which <cUser>
is established. 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 file server.
Returns
NNETINGRPS() returns a one-dimensional array. Each array element
contains the name of a user group.
Description
NOVELL NET IN GROUPS
To improve organization and simplify user access to file server
resources, you can create user groups under the Novell Netware. Each
user can be a member of one or more groups. With the function
NNETINGRPS(), you can determine all the user groups to which a user
belongs.
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 the user groups to which user KEITH on file server STONES
belongs:
aList:=NNETINGRPS('KEITH','STONES')
FOR i = 1 TO LEN(aList)
? aList[i]
NEXT i
See Also:
NNETGROUPS()
NNETGRPMEM()
NNETUSINGR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson