Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sharepoint WorkFlow Approval via Username / Password Authentication

Posted on 2009-06-30
2
Medium Priority
?
598 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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
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 summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

772 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