PardotBusinessUnitContext Class
Get the Pardot business units the context user has access to.
These methods are for PardotBusinessUnitContext. All methods are static.
-
Get the Pardot business units the context user has access to.
-
getBusinessUnitContextByIsCurrentStatus(isCurrent)
Get the Pardot business units the context user has access to by specifying the current status.
Get the Pardot business units the context user has access to.
55.0
No
public static ConnectApi.PardotBusinessUnitContextOutput getBusinessUnitContext()
Type: ConnectApi.PardotBusinessUnitContextOutput
Get the Pardot business units the context user has access to by specifying the current status.
55.0
No
public static ConnectApi.PardotBusinessUnitContextOutput getBusinessUnitContextByIsCurrentStatus(Boolean isCurrent)
- 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).