How to find if user exists in LDAP

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2020 04:40 AM
Hello guys,
I have designed a catalog item with two variables. User Name (type: string) and Password (type: password)
I have attached a workflow and using custom activity to reset a password for the user selected. If i enter a user which is not existing in LDAP then Output should be thrown error. How to know whether the user exists in ldap or not in service now?
Regards,
Indup
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2020 11:23 AM
Hi Ashutosh
If I get the domain controller, then what's the next step? Can you give me the power shell code to verify whether the selected user existing in LDAP or not? And how the output of the custom activity will come if the user exists and if not?
Regards
Indup