ExternalManagedAccount Class

Get externally managed accounts.

Namespace

ConnectApi

ExternalManagedAccount Methods

These methods are for ExternalManagedAccount. All methods are static.

getCommunitiesExternalManagedAccounts(communityId)

Get externally managed accounts available to the context user across all Experience Cloud sites.

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.

Note

getCommunitiesExternalManagedAccounts(communityId, includeMyAccount)

Get externally managed accounts available to the context user, including the context user’s account, across all Experience Cloud sites.

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.

Note

includeMyAccount
Type: Boolean
Specifies whether to return the context user’s account (true) or not (false). The default value is false.

getExternalManagedAccounts(webstoreId)

Get externally managed accounts for a store.

API Version

49.0

Requires Chatter

No

Signature

public static ConnectApi.ExternalManagedAccountCollectionOutput getExternalManagedAccounts(String webstoreId)

Parameters

webstoreId
Type: String
ID of the webstore.

getExternalManagedAccounts(webstoreId, includeMyAccount)

Get externally managed accounts, including the context user’s account, for a store.

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.