Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

JScript/COM/ASP sample to add a user to a WSS site

  Asked By: Jefferson    Date: Apr 20    Category: Sharepoint    Views: 9788

We're integrating a hosted WSS site into an existing non-.NET ASP site; the latter will host the registration page for the integrated site.

The registration ASP page needs to be able to call the WSS Users and Groups Web service to add a user to the hosted WSS site.

The following working .NET code sample does exactly what we want to do ...but we need a JScript/COM version of the code the we use in an ASP page.

Does anyone have a JScript/COM sample that will issue this authenticated AddUserToGroup() call?
Any alternative suggestions would also be appreciated.

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Gregg Wilkinson     Answered On: Apr 20

Why not call  the web  Service directly from JavaScript?

http://webreference.com/js/tips/020715.html
www.codeguru.com/.../

I like the CSS behavior HTC too:
expertanswercenter.techtarget.com/.../0,29519
9,sid63_gci984611,00.html

I'm sure that there are other great references.

 
Answer #2    Answered By: Darrel Sexton     Answered On: Apr 20

The first 2 are still dependent on .NET; however, the HTC behavior looks interesting. I haven't checked it out completely ...here's the download location for the actual HTC file: msdn.microsoft.com/.../default.asp

 
Answer #3    Answered By: Tory Sellers     Answered On: Apr 20

I'm guessing you already know that XML-RPC is another protocol that can
be successfully used with JavaScript.

 
Answer #4    Answered By: Agustin Miranda     Answered On: Apr 20

I'm not too familiar with it ...can it be used to sent and receive WSS compatible "SOAP" messages?

Is easy/easier to use digest auth with XML-RPC?

 
Answer #5    Answered By: Arron Middleton     Answered On: Apr 20

I too am not very familiar with it. Just another option to consider.

 
Didn't find what you were looking for? Find more on JScript/COM/ASP sample to add a user to a WSS site Or get search suggestion and latest updates.




Tagged: