Skip to main content
Nintex Community Menu Bar

How to get a user mail ID form AD by passing the AD username in the workflow

  • February 11, 2020
  • 1 reply
  • 127 views
  • Translate

Good day dears,

 

I am trying to send an email to the originator of the workflow and CC his manager which i can only get his username from our database. 

 

So, I need a way to pass userID and get the emailID from AD?

 

 

Thank you

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+15

Hi,


 


Do you mean you want to get the manager's email by using his username? There are two ways you can do this. You can use a AD User SmartObject to directly query the AD, or you can use the UMUser SmartObject, which will query the Identity.Identity table on your K2 database.


 


The UMUser SmartObject is created out of the box, so you just need to find it to use it. The AD User SmartObject is not created out of the box. You have to look for the AD Service2 service instance, then create a SmartObject from the ADUser service object.


 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings