Hi,

We have a company drive letter that we need to map departmental drives to so we have a simple:
Code:
  
IF InGroup("HR_for_example")
Use Q: '\\server\HR_drive'
ENDIF



which works fine, but the problem is some people seem to belong to 2 different departments and therefore need 2 drive letters, so I was wondering if there was a way to cater for this in a kix script? pseudo code of what I mean:

If in group whatever & drive letter already taken then
map drive to other letter.

the users are not in anymore than 2 departmental groups (for the moment at least,) and there's no pattern of which 2 departments they belong to. I'm not new to programming but I am new to kix scripts so I'd appreciate some help please, can it be done? and if so how?

thanks for any help you can provide.