Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / October 2004

Tip: Looking for answers? Try searching our database.

web service secondary data sources

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bwmbagus - 28 Oct 2004 22:53 GMT
How do I configure Infopath to pass credentials to the webs ervice so I can
use IsInrole in the code to authenticate the users group membership on the
server domain?
I am using the refresh action of a command buttton to activate the call on
the client!
Anjan - 29 Oct 2004 06:14 GMT
You need to build SOAP request manually/programatically where you can build
your own SOAP envelop and body. You can pass on your cradential etc. there.

Try searching for "submit programatically" phrase and you will get lot of
sample codes to work with.

> How do I configure Infopath to pass credentials to the webs ervice so I can
> use IsInrole in the code to authenticate the users group membership on the
> server domain?
> I am using the refresh action of a command buttton to activate the call on
> the client!
bwmbagus - 29 Oct 2004 21:01 GMT
for anyone who is interested.
It appears the correct way is to write a web service allowing the user to
interrogate the details from WScript.Network to get the username and domain
and computername.
This can then be passed in with the Infopath document in fields, and used to
check for a role membership.
This implies that in fact InfoPath alreaady passes in Credentials and it is
my use of Contect.User rather than System.Envirnment etc that is the fault.

hope this helps anyone wondering how best to validate the cleint user.
I then return a "Access not allowed" message on failiure of IsInRole

> How do I configure Infopath to pass credentials to the webs ervice so I can
> use IsInrole in the code to authenticate the users group membership on the
> server domain?
> I am using the refresh action of a command buttton to activate the call on
> the client!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.