Developer forum

Forum » Development » API Extranet login

API Extranet login

Kim Søjborg Pedersen
Reply
Hello, is it true that you need to install DW extranet module to call ExtranetLogin in the API?

My code look like this...

Dynamicweb.Security sec = new Security();
sec.ExtranetLogin(Request.Form["Username"], Request.Form["Password"]);

The sec.UserLoggedIn is always false for some reson in my production enviroment and the customer only have "Users" and "Users (Extended)" installed.

Replies

 
Nicolai Høeg Pedersen
Reply
Yes - that is why.

You cannot login a user in the frontend without the module installed.

 
Kim Søjborg Pedersen
Reply
Now the module is installed but sec.UserLoggedIn still returns false is there sómething else I miss?

It works on the local dev site with all module installed.
 
Nicolai Høeg Pedersen
Reply
Can you log in on the production using a normal login box?

 

You must be logged in to post in the forum