Solved

Sharepoint WorkFlow Approval via Username / Password Authentication

Posted on 2009-06-30
2
568 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now