Newer Version Available
PardotBusinessUnitContext Class
Get the Pardot business units the context user has access to.
Namespace
PardotBusinessUnitContext Methods
These methods are for PardotBusinessUnitContext.
All methods are static.
getBusinessUnitContext()
API Version
55.0
Requires Chatter
No
Signature
public static ConnectApi.PardotBusinessUnitContextOutput getBusinessUnitContext()
Return Value
getBusinessUnitContextByIsCurrentStatus(isCurrent)
API Version
55.0
Requires Chatter
No
Signature
public static ConnectApi.PardotBusinessUnitContextOutput getBusinessUnitContextByIsCurrentStatus(Boolean isCurrent)
Parameters
- isCurrent
- Type: Boolean
- Specifies whether to return only the business unit that’s selected as the context user's current business unit context in the business unit switcher of the Pardot Lightning app (true) or to return only the business units that aren’t selected as the context user's current business unit context (false).