GetImportPendingGroup

Returns an individual “pending import” group with the specified ID in the zone.

Syntax

IGroupInfo GetImportPendingGroup(string id)

Parameter

Specify the following parameter when using this method:

Parameter Description
id The GUID of the “pending import” group profile for which you want to retrieve information.

Return value

The IGroupInfo object for the specified ID in the zone.

Discussion

Group profiles that are “pending import” are normally imported from NIS domains or from text files and not yet mapped to Active Directory groups. For more information about importing and mapping groups, see the Administrator’s Guide for Linux and UNIX.

Example

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

...  
'Need to obtain an active directory container object  
'Configure the test container.  
Set objRootDSE = GetObject("LDAP://rootDSE")  
set objContainer = GetObject("LDAP://" & strParent & "," &
objRootDSE.Get("defaultNamingContext"))  
strContainerDN = objContainer.get("DistinguishedName")  
'Get the zone object.  
Set objZone = cims.GetZoneByPath("cn=" & strZone & "," & strContainerDN)  
Set objGroupInfo = objZone.GetImportPendingGroup(strID)  
objGroupInfo.Delete  
...