Returns the list of “pending import” groups for the zone.


IGroupInfos GetImportPendingGroups()

Return value

The collection of “pending import” group profiles for the zone.


The following code sample illustrates using this method in a script:

'Specify the zone you want to work with
set objZone = cims.GetZoneByPath("LDAP://CN=default,CN=zones,CN=centrify,CN=program data,
DC=arcade,DC=com") 'Get the collection of pending import groups set objPendingGrps = objZone.GetImportPendingGroups if not objPendingGrps is nothing then wScript.Echo "Pending import groups: ", objPendingGrps.Count for each objPendingGrp in objPendingGrps wScript.Echo objPendingGrp.Gid, objPendingGrp.Name if objPendingGrp.Source = "script file" then objPendingGrp.Delete end if next wScript.Echo "" end if ...