Solved

How to get full user's mail address from AD?

  • 12 September 2017
  • 1 reply
  • 17 views

Badge +3

Hi,

 

 

I have to pre-populate user's address from Active Directory on K2 SmartForm. I am using GetUserDetails from AD User SmartObject (Active Directory Service2). 

Everithing works fine excluding GetUserDetails method does not return Zip with address.  How to retrieve Zip code for the user? I need full user's postal address. 

 

 

Regards,

  Oleg

icon

Best answer by boringNerd1 13 September 2017, 06:59

View original

1 reply

Badge +15

Hi,


 


Zip code is not the default property being returned by ADService2. Unfortunately, there is no way you can tweak that. Someone created a custom AD service broker that seems to allow you to fetch properties that are not in ADService2. 


 


If you are interested:


http://community.k2.com/t5/K2-blackpearl/Dynamic-Active-Directory-Service/ba-p/869#

Reply