I built the following LDAP query to retrieve the display name of a user but the results come back empty. I created a variable to capture/display any errors and, after some work, resolved any returned errors.
(&(objectClass=user)(samaccountname={WorkflowVariable:justUserName}))
The variable justUserName is correctly showing just the AD name (Windows ID) without the domain.
I created displayName as a variable and as a property to retrieve and presume this is where the AD query will deposit the result.
No luck.
Trying the alternative method of calling a SharePoint web service, /_vti_bin/UserGroup.asm, the Item Properties option to select domain/username is not present for the Web service input field.
I'm striking out and looking for leads on how to resolve this.