Solved

Sharepoint WorkFlow Approval via Username / Password Authentication

Posted on 2009-06-30
2
574 Views
Last Modified: 2013-11-10
Hello Everyone,

I was wondering if you guys can point me in the right direction.  I would like to build a custom SharePoint approval workflow.  I have plenty of examples relating to the basic approval workflow.  My question is, how can I force the approver to reauthenticate when they hit the approve button?  In other words, I need a username and password promt to be displayed prior to commiting the approval in the workflow.  The username and password should correlate with the one in Active directory.  If anyone can share any example C# code, to add to the workflow in Visual Studio 2008, it would be greatly appreciated.  Thanks for the help in advanced.
0
Comment
Question by:Kozela
2 Comments
 
LVL 21

Accepted Solution

by:
66866 earned 500 total points
ID: 24755728
Here's an approach, assuming you are using custom task edit form, once the approver hits "Approve" have a "modal popup" that includes a user name and password box. this section is used for connecting to the AD. You can use LDAP query to connect to the AD and authenticate the user.

I know this is not the code level detail that you want, however this can be a good starting point to take it to the next step.
Hope it helps, let me know if you have any questions.
0
 

Author Closing Comment

by:Kozela
ID: 31598449
I needed more information but the question was a bit vauge and complicated.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question