Hello,
I would like to browse an active Directory Domain but I have some problem
for authentication:
My code:
Dim dsbi As New DSBROWSEINFO
dsbi.dwFlags = ?
dsbi.pUserName = Login
dsbi.pPassword = password
dsbi.pszRoot = VarPtr("LDAP://" & domain)
dsbi.pszPath = VarPtr(strpath)
dsbi.pszTitle = VarPtr("Choose the Location")
dsbi.pszCaption = VarPtr("Browse")
dsbi.cbStruct = Len(dsbi)
dsbi.cchPath = MAX_PATH
If I want to use dsbi.pUserName and dsbi.pPassword, I must define
dsbi.dwFlags and I don't know what is the syntax. Can anybody help me ?
Here the MSDN
Url:http://msdn.microsoft.com/library/de...browseinfo.asp
Thanks
Benoit