Solved

Sharepoint WorkFlow Approval via Username / Password Authentication

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
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 is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

932 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

13 Experts available now in Live!

Get 1:1 Help Now