Newer Version Available
LoginScopeHeader
Specifies your organization ID so that you can authenticate Self-Service users for your organization using the existing login().
API Calls
Fields
| Element Name | Type | Description |
|---|---|---|
| organizationId | ID |
The ID of the organization against which you will authenticate Self-Service users. |
| portalId | ID |
Specify only if user is a Customer
Portal user. The ID of the portal for this organization. The ID
is available in the Salesforce user interface:
|
Sample Code—C#
This sample shows how to use the LoginScopeHeader. It sets the organization ID and the portal ID for a Customer Portal user. It also sets the CallOptions header. It then logs the specified user in.