I am having trouble mapping group shares to a user, when that user is a member of multiple groups. I want the script to map a group drive for each group the user is a member of, but it only maps one group drive, usually the primary group.
With the following code example, I should be able to map drives G, I, and K to different group shares at the same time if the user is in all these groups. However, only one of these drives are mapped at logon. I am using an old version of KIXtart, if that matters.
$group=Purchasing
if ingroup($group)
use g: /del
use g: "\\serv1\Purchasing$"
ENDIF
$group="Customer Correspondence"
if ingroup($group)
use i: /del
use i: "\\serv1\custcorr$"
ENDIF
$group="Human Resources"
if ingroup($group)
use k: /del
use k: "\\serv1\hr$"
ENDIF
Thanks!
With the following code example, I should be able to map drives G, I, and K to different group shares at the same time if the user is in all these groups. However, only one of these drives are mapped at logon. I am using an old version of KIXtart, if that matters.
$group=Purchasing
if ingroup($group)
use g: /del
use g: "\\serv1\Purchasing$"
ENDIF
$group="Customer Correspondence"
if ingroup($group)
use i: /del
use i: "\\serv1\custcorr$"
ENDIF
$group="Human Resources"
if ingroup($group)
use k: /del
use k: "\\serv1\hr$"
ENDIF
Thanks!