function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
carlzcarlz 

"Login as" URL

Hi

 

We have an internal feature to allow our staff to login as a specific Sites portal user. For that we are using the following URL:

 

/servlet/servlet.su?oid=xxx&suportaluserid={!userId}&retURL=%2Fapex%2FdcEdit%3FuserId%3D{!userId}&targetURL=%2Fapex%2Fms_dashboard&suportalid=xxx

 

The URL seems to work just fine except for the targetURL, which seems to be ignored. So, I tried to find any documentation about this feature, but was not able to. Are there any docs about how to use this URL? Is this a supported feature? If so, what is wrong with the targetURL param?

 

Thanks in advance

 

Rodrigo

sekharasekhara

/secur/login_portal.jsp?orgId=00S90000000Kdq5&portalId=060SS000000Pmf9&pw=SAelcome12a&un=mvrsreddy@gmail.com

 

try like this 

carlzcarlz

Thanks for your answer. The problem is that this url you provided requires both user and password. We want to be able to login as.

 

Thanks nevertheless

 

Rodrigo

sekharasekhara
So you have to use oAuth