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

Passing Login information to a .net application


I am building an internal web application that will use data passed from We have many sales reps that use the tool. When data gets passed and our application needs to call a login funcion in order to access any of the data from our end, how can I get the login credentials of the logged in user to or do I use a generic username and password?

Does that make sense?

Thanks a ton,

Rhonda Bailey
When you pass the data also pass the session id and server url in merge fields, then you dont need to login, you just set the sessionheadervalue.sessionid to the session id from the merge field and the sforceservice.url from the server url from the merge field.