Modify an ADAM Container Account Property

Modifies the description attribute for an ADAM container named Users.

VBScript Code


On Error Resume Next

Set objUser = GetObject("LDAP://localhost:389/cn=users,dc=fabrikam,dc=com")

objUser.Put "description", "This is a practice container."  
objUser.SetInfo