Need account information from AD id.

  • 18 October 2012
  • 1 reply
  • 0 views

Badge +1

I have a text value of user AD ID like VMCkbatta. Can I convert this string into actual SharePoint user with in K2 to get user information from User Profile service.


Thanks,


Kiran Batta.


1 reply

Badge +10

K2’s out of the box SharePoint Service V2 allows you to create a SmartObject against the User profile service .


 


Start the SmartObject Tester tool and under ServiceObject Explorer/SharePoint Service V2 and then expand the instance for your SharePoint site.  Note that there is a “Users” along with the different lists and libraries that can be exposed as a SmartObject.  Select Users and choose “Create Smart Object” and give it a friendly name and then click the Publish SmartObject button.


 


Navigate under SmartObject Explorer to where you published the SmartObject and then execute it.  You’ll note one of the methods is Load which allows you to enter in the AD user vmckbatta and it’ll return that user’s SharePoint User profile information.

Reply