Can I use the OpenDSObject menthod with the OnePoint ADSI? (NETIQKB8029)

  • 7708029
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
Can I use the OpenDSObject menthod with the OnePoint ADSI?

fact
Directory and Resource Administrator 6.X

fact
Directory and Resource Administrator 7.X

fix

Yes, the OpenDSObject method can be used with the OnePoint ADSI provider.  The OpenDSObject internally calls the GetObject method using a different set of credentials.  The following code snippet is provided as an example and uses the OpenDSObject method:

Private Sub Form_Load()

Dim objRoot As IADsOpenDSObject
Dim objThis As IADs

'Set objRoot = GetObject("LDAP:")
'Set objThis =
objRoot.OpenDSObject(LDAP://domain_name.com/ou=ou_name,dc=domain_name,dc=domain_name,dc=com, "domain_name\user_name", "password",
ADS_SECURE_AUTHENTICATION)

For Each thing In objThis
MsgBox thing.Name
Next

End Sub



Additional Information

Formerly known as NETIQKB8029