J
Jason Higgins
I am trying to write a script that will unlock a user
account using the lockoutTime property. I would like to
use the username in the LDAP path but it is not working.
I have to use the following.
Set oUser = GetObject("LDAP://CN=LastName\,
FirstName,CN=Users,DC=domain,DC=com")
When I replace "CN=LastName\, FirstName"
with "CN=UserName" I get an error that says the object
can't be found. Is it possible to use the UserName in
the LDAP path?
account using the lockoutTime property. I would like to
use the username in the LDAP path but it is not working.
I have to use the following.
Set oUser = GetObject("LDAP://CN=LastName\,
FirstName,CN=Users,DC=domain,DC=com")
When I replace "CN=LastName\, FirstName"
with "CN=UserName" I get an error that says the object
can't be found. Is it possible to use the UserName in
the LDAP path?