Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
Hi All,
I am just trying to see if a users email exists in our Active Directory. I seem to be having trouble getting any results. I am sure its something I am doing wrong.
I am using (&(objectClass=user)(mail={WorkflowVariable:E-mail Address})) to get the users email address. I am unsure on what value I need to be putting into [Property to Retrieve].
Essentially after that I just want to have a decision tree. If it exists - email Initiator - else Create AD user.
Any help is much appreciated.
A
Solved! Go to Solution.
That is perfect – I got it working – I will jump on the site and mark as the right answer.
Thanks mate.
A
Hi Patrick,
This was very help thank you. Do you perhaps know how to get the fields that have space in them. For some reason I managed to get he results back but for the columns that has space in between I get nothing back.
Regards
Bhuti
Hi Patrick Hosch,
I thought I should clarify, to be exact I am looking to pull the "Work Phone" out but I always get empty string but I can get results for Title, Name etc. All the Fields that have one name without a space they get returned.
Regards
Bhuti
Bhuti, the "Work Phone" property is a SharePoint user profile property. The property you want to get from AD is "telephoneNumber".
Here is a list of all properties in SP and their corresponding AD properties. Also note, that properties with spaces in their name in SharePoint have an internal field name that has NO spaces. The internal field name is the one being used when working with SP user profiles.
Regards
Bhuti
Hi Patrick,
This sounds like the specific solution I need, but I can only get the proper result with Run Now (replacing the variable with the username) and no results are returned with the variable.
Can you point me in the right direction?
Thank you for any information you can provide.
Have you tried wrapping the variable around {TextStart} and {TextEnd} to indicate a block of text that should not be parsed further?
Additionally, although you have made sure there is no spaces at the beginning/end - you could do this via RegEx, just to be 100% sure. A pointer to an approach can be found here
Let me know if that helped
Hi Patrick,
Would this work if I don't have the username or email address of the person I'm trying to find in AD, but I have a string var with the First Name + Last Name value? i.e.("Ricardo Gonzalez").
I have a document library in SharePoint with a Single Line of Text field called "Owner"; what I'm trying to do is a create a new field named "Document Owner" of type Person and use Nintex to copy the string from Owner and then paste in Document Owner as person value. I need to use a workflow because of the large amount of items in my library. Any advice on how to achieve this?
thanks!
Ricardo