You need to sign in to do that
Don't have an account?
someone
Get salesforce username via openCTI
Is there a way to retrieve the currently logged in salesforce username using openCTI?
pcon
Where / how is your integration code running? Do you have access to the SessionId or the current user Id?
someone
This is to be used in an external call centre application. I don't believe I have access to the salesforce session id; not sure about current user id. Ideally I'd like to use some kind of salesforce user identifier (e.g. username or user id).
Kevin Glinski
you can use the runApex opencti method https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_runapex.htm to call into an apex method to return the user id