I'm trying to create a form to automate the process of creating user ID's in Active Directory using SharePoint 2010 Enterprise, InfoPath 2010, and PowerShell. I'd like to verify whether a user exists from within the InfoPath form rather than a PowerShell script.
I've tried connecting InfoPath to a secondary web service, http://mysharepointserver/_vti_bin/UserGroup.asmx and using the GetUserInfo query, however, this requires a valid user ID to query. It actually gives me back the exact message I'd like, but InfoPath assumes I don't want errors in my queries and won't let me proceed.
Is there another way to do this?
Thanks for your help!