Is there command in netware that will allow me to display all groups that user belongs to in login script?
Asked
Active
Viewed 212 times
1
-
what version of netware? – Chopper3 May 31 '11 at 08:07
-
Novell NetWare 5.00 – jjczopek May 31 '11 at 08:51
1 Answers
0
It's been a long time since I used Netware, but I think the variable %GROUP_MEMBERSHIP should give you what you're looking for. So adding something like
WRITE "You're a member of the following groups..."
WRITE "%GROUP_MEMBERSHIP"
should give you a listing of the groups that the user is a member of.

Mike1980
- 1,018
- 7
- 15
-
it works partially - my user belongs to two groups, but only one was printed – jjczopek May 31 '11 at 21:50
-
How about using nlist via the login script NLIST USER=%LOGIN_NAME SHOW "Group Membership" – Mike1980 May 31 '11 at 22:28