I have written a WCF service that takes userID and finds complete display name from active directory. In my publishing pipeline I have got creatorID of current page which is compete userid along with domian and I want to call WCF service here to fetch compete user display name from Active directory.
Reason of doing all this is that User name (description) stored in tridion and user name in Active Directory will be different in some cases, therefore I am not using Tridion stored user name.
URL of WCF service will be used but where can I define/store the service url? Can I read web.config
file in my pipeline?
Is there any other way to do similar thing?
web.config
in a TBB in a Page Template, if so, whichweb.config
, from where?