Lin.DS.Object.Delete
Top  Previous  Next


Deletes Linux object (user, group, container)

A connection must be established with Lin.DS.Logon before any other Lin.DS.x command can be used.

Requirements
·Linux server with OpenLDAP 2.0 or higher, configured to accept SSL connections on port 636.  
·A locally installed SSL certificate.  

Category
Linux

Script section
All

Lin.DS.Object.Delete
ObjectPath

ObjectPath
Full directory path to object to delete  

Examples
1) Delete group MyGroup in OU OUinMyOU in OU MyOU

Lin.DS.Object.Delete dc=com/dc=my-domain/ou=MyOU/ou=OUinMyOU/cn=MyGroup

2) Delete OU OUinMyOU in OU MyOU and then OU MyOU

Lin.DS.Object.Delete dc=com/dc=my-domain/ou=MyOU/ou=OUinMyOU   
Lin.DS.Object.Delete dc=com/dc=my-domain/ou=MyOU