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

  • what version of netware? – Chopper3 May 31 '11 at 8:07
  • Novell NetWare 5.00 – jjczopek May 31 '11 at 8:51

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..." 

should give you a listing of the groups that the user is a member of.

| 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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