Solved

Sharepoint WorkFlow Approval via Username / Password Authentication

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

810 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