set oDomain = GetObject("WinNT://testsinomos")
set oUser =oDomain.GetObject("User","s040695")
'wscript.echo err.number
oUser.put "title", "stitle"
oUser.setinfo
warning the line 4 have a error , but when i try with the echo err.number it returns 0,what errors ?
whether the winnt are the same as ldap, when I modify ,it can work
set oUser=GetObject("LDAP://cn=s" &sIdNo_ & ",ou=TestsinomosAccounts,dc=testsinomos,dc=com")
'wscript.echo
oUser.put "title", stitle
oUser.setinfo
where do i write wrong?
set oUser =oDomain.GetObject("User","s040695")
'wscript.echo err.number
oUser.put "title", "stitle"
oUser.setinfo
warning the line 4 have a error , but when i try with the echo err.number it returns 0,what errors ?
whether the winnt are the same as ldap, when I modify ,it can work
set oUser=GetObject("LDAP://cn=s" &sIdNo_ & ",ou=TestsinomosAccounts,dc=testsinomos,dc=com")
'wscript.echo
oUser.put "title", stitle
oUser.setinfo
where do i write wrong?