How can I
1. do my own user/password authentication using adsi ?
2. set that a user has to change his password on next logon
I'm using VB6 & ADSI 2.5
Set the "pwdLastSet" property to 0.Quote:>2. set that a user has to change his password on next logon
Here's how I do it in Delphi - translating it to VB shouldn't be too
oTemp : IUnknown;
oUser : IADsUser;
oContainer : IADsContainer;
varZero : OleVariant;
..... setting up user creation........
oTemp := oContainer.Create('user', aName);
oUser := oTemp as IADsUser;
varZero := 0;
Is it possible to get NTLM user information (domain, SID, userName) from
parameters firstName, lastName (or full name)? I can get the user's full
name from username, but not vice-versa.