Is there command in netware that will allow me to display all groups that user belongs to in login script?

link|improve this question

50% accept rate
what version of netware? – Chopper3 May 31 '11 at 8:07
Novell NetWare 5.00 – jjczopek May 31 '11 at 8:51
feedback

1 Answer

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.

link|improve this answer
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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.