Delete

Marks the UNIX group profile object for deletion from Active Directory.

Syntax

void Delete()

Discussion

This method does not delete the group profile-- it only marks it for deletion. After you mark an object for deletion, you must call the Commit method to complete the operation.

Example

The following code sample illustrates using Delete in a script:

...  
'Identify the zone you want to work with  
set objZone = cims.GetZoneByPath("LDAP://cn=eur007,cn=Zones,
cn=UNIX,dc=ajax,dc=org")  
'Get the UNIX group profile you want to delete  
set objProfile = objZone.GetGroupUnixProfileByGid(“905”)  
objProfile.Delete  
...