Issue: I have a list where I wanted to check if the user is disabled or not)
I have created a site workflow and the collection of users who I wannted to check-up at.
But when I comes to the configuration og Query LDAP action then I got problem.
LDAP path OK
My problem is how can I get userAccountControl value (Property to retrieve) and later do a run if on value 514:
Solved! Go to Solution.
Just put the property name in the field "Property to retrieve" and click add to link it to a workflow variable. It either has a number (514 is indeed locked account) or empty (account does not exist).
First create a numeric or text workflow variable varUserAccountControl.
Then when configuring the Query LDAP, enter userAccountControl in the field "Property to retrieve" and click the Add button. The property will be added with the option to select a workflow variable, where you can select varUserAccountControl
NB: the correct LDAP property name(s) you can find anywhere on the Internet.