Skip to main content

Hi,

 

We have a requirement to customize AD user service object.

scenario is that our employee IDs are saved in a different property than the ones in input parameters/output parameters for "getUser" and "getUserDetails" methods.

how can we add another input parameter and output parameter to "getUser" and "getUserDetails" methods of "AD User" smartobject.

 

Any pointers will be very helpful to us.

Is it not possible to modify the OOTB SmartObject, but there is a blackmarket service broker you can use called DynamicADSO that does allow you to customize it: http://community.k2.com/t5/K2-blackpearl/Dynamic-Active-Directory-Service/ba-p/869


Hi Umar,

 

If you use resharper to take a look at this dll:

 

SourceCode.SmartObjects.Services.ADService.dll

 

you can find how K2 build the call to AD and you can add a new method to get the custom properties that you want.

 

Hope this helps.

 

Gus


Reply