Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ExternalManagedAccount Class
Namespace
ExternalManagedAccount Methods
getCommunitiesExternalManagedAccounts(communityId)
API Version
50.0
Requires Chatter
No
Signature
public static ConnectApi.ExternalManagedAccountCollectionOutput getCommunitiesExternalManagedAccounts(String communityId)
Parameters
- communityId
- Type: String
- ID for an Experience Cloud site, internal, or null.
- Regardless of the ID specified, this method returns externally managed accounts available to the context user across all Experience Cloud sites.
Return Value
getCommunitiesExternalManagedAccounts(communityId, includeMyAccount)
API Version
53.0
Requires Chatter
No
Signature
public static ConnectApi.ExternalManagedAccountCollectionOutput getCommunitiesExternalManagedAccounts(String communityId, Boolean includeMyAccount)
Parameters
- communityId
- Type: String
- ID for an Experience Cloud site, internal, or null.
- Regardless of the ID specified, this method returns externally managed accounts available to the context user across all Experience Cloud sites.
- includeMyAccount
- Type: Boolean
- Specifies whether to return the context user’s account (true) or not (false). The default value is false.
Return Value
getExternalManagedAccounts(webstoreId)
API Version
49.0
Requires Chatter
No
Signature
public static ConnectApi.ExternalManagedAccountCollectionOutput getExternalManagedAccounts(String webstoreId)
Parameters
- webstoreId
- Type: String
- ID of the webstore.
Return Value
getExternalManagedAccounts(webstoreId, includeMyAccount)
API Version
53.0
Requires Chatter
No
Signature
public static ConnectApi.ExternalManagedAccountCollectionOutput getExternalManagedAccounts(String webstoreId, Boolean includeMyAccount)
Parameters
- webstoreId
- Type: String
- ID of the webstore.
- includeMyAccount
- Type: Boolean
- Specifies whether to return the context user’s account (true) or not (false). The default value is false.