I am trying to convert our current vbs login script to kix script.
The script maps a drive based on OU membership, eg:
===============================
select case LCase (oParent.name)
case "ou=execs"
oNet.RemoveNetworkDrive "S:"
oNet.MapNetworkDrive "S:", "\\CORPFS01\Execs$"
end select
==============================
I want to do the same thing with KIX, but am having no luck in getting the IF inOU("Execs") variable working.
Is there a simple way to do this?
Mapping drives via group memberships is working fine by using
IF InGroup("groupname") =1
use f: \\corpfs01\fileshare
ENDIF
Thankyou Isorg. I shall setup the UDF and try to call from the script. Any tips?
0
davewhyAuthor Commented:
Isorg, the InContainer() and dependent TranslateName() UDF's worked a treat. I have included both in a seperate UDF (.kxf) file, called them from the script, and got the result I wanted. Brilliant.
0
Question has a verified solution.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
but there is a really nice InContainer() UDF that can be found here. http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=82433&site_id=1#import