D
daragh
My Vbscript will only run if the user has domain admin
rights, if the user does not have Domain Admin rights, it
fails on the Join command (5th line in the sample below)
Here is a sample of the script, any help??
Pleaseeeee
Const SALES = "cn=sales"
Set wshNetwork = CreateObject("WScript.Network")
strGroups = LCase(join(CurrentUser.MemberOf))
If InStr(strGroups, SALES) Then
wshNetwork.MapNetworkDrive "j:", "\\server\sales"
rights, if the user does not have Domain Admin rights, it
fails on the Join command (5th line in the sample below)
Here is a sample of the script, any help??
Pleaseeeee
Const SALES = "cn=sales"
Set wshNetwork = CreateObject("WScript.Network")
strGroups = LCase(join(CurrentUser.MemberOf))
If InStr(strGroups, SALES) Then
wshNetwork.MapNetworkDrive "j:", "\\server\sales"