+ Start a Discussion
saariko.ax241saariko.ax241 

Authenticate my users with the SSP users

I am building an application, and I want that my users will be actually SSP users. Is it possible?

 

I have my own site, and I code in .NET.

 

I want that if a user has SSP access, than he will be able to log to my site.

 

How is it possible?

 

thanks

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
You can authenticate SSP users via the API login call by setting the LoginScopeHeader appropriately.

All Answers

SuperfellSuperfell
You can authenticate SSP users via the API login call by setting the LoginScopeHeader appropriately.
This was selected as the best answer
saariko.ax241saariko.ax241

SforceService binding = new SforceService(); LoginScopeHeader lsh = new LoginScopeHeader(); lsh.organizationId = "ORGID"; binding.LoginScopeHeaderValue = lsh; LoginResult lr = binding.login(username, password);

 

For all, a working example