Displaying 2 results from an estimated 2 matches for "objgroup".
Did you mean:
ob_group
2006 Oct 18
1
optgroup and Javascript Issues
...elect box that has multiple enabled and a few
optgroup mixed in with other groups?
The following seems to work without the optgroup tags in a multiselect
list box. I have tired going threw the children of the optgroup but i
was unable to pull a valid .value or .selected.
Any Ideas? Thanks.
var objGroups = document.getElementById(''groups'').childNodes;
var aSelectedGroups = new Array();
for (var i = 0; i < objGroups.length; i++) {
if (objGroups[i].selected == true) {
aSelectedGroups.push(objGroups[i].value);
}
}
--~--~---------~--~----~------------~-------~--~----~
You r...
2013 Mar 20
2
Samba4 - mapping Network Drives based on Group membership
...Wscript.Network")
strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)
objNetwork.MapNetworkDrive "Z:", "\\10.100.1.128\Public"
For Each strGroup in objUser.MemberOf
strGroupPath = "LDAP://" & strGroup
Set objGroup = GetObject(strGroupPath)
strGroupName = objGroup.CN
Select Case strGroupName
Case "HR"
objNetwork.MapNetworkDrive "N:", "\\10.100.1.128\HR"
Case "Engineering"
objNetwork.MapNetworkDrive "y:", &qu...