|
Howard:
Thanks for the help. I did not notice how while pasting the script, it lost all the format.
But back to the problem, I know that CASE would only take one at a time, but I put the next mapping based on group membership (R:, in the first script) after the ENDCASE, to no avail. It simply ignored the IF Ingroup clause. What I was trying to accomplish is that users who are members of Mgt will have a drive O:, but members of Mgr (a sub-grouping of the first one) will have an extra drive, R:. It just does not work, as it ignores that a user could be a member of both Mgt and Mgr groups.
The same applies to the second script, where I had to create a group called "Blotter", that would be populated with individuals that are already members of other groups (departments) such as Private Banking, etc. It ignored completely the selection by group after the ENDCASE command. I tried to move the selection up in the script, prior to the call to SELECT, but then I lost the mapping that used to happen inside de SELECT CASE and ENDCASE. It behaves as it could only understand one group per script. I even tried to use the InGroup command to select two groups at a time (using 1 as last parameter) results were even worse.
If you want I can try to post again, this time minding the format (tabulation) of the entries.
|