Const ADS_PROPERTY_APPEND = 3
Set objUser = GetObject _
(“LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com”)
objUser.PutEx ADS_PROPERTY_APPEND, “otherHomePhone”, Array(“(425) 555-0116”)
objUser.SetInfo
Const ADS_PROPERTY_APPEND = 3
Set objUser = GetObject _
(“LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com”)
objUser.PutEx ADS_PROPERTY_APPEND, “otherHomePhone”, Array(“(425) 555-0116”)
objUser.SetInfo
发表回复