Modify an ADAM inetOrgPerson Account Property

Modifies the description attribute for an ADAM inetOrgPerson account named Syedabbas.

VBScript Code


On Error Resume Next

Set objUser = GetObject _
    ("LDAP://localhost:389/cn=syedabbas,ou=Accounting,dc=fabrikam,dc=com")

objUser.Put "description", "This is a practice inetOrgPerson account."  
objUser.SetInfo