ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / CreateForItemsOfTypeWithOwner Method
The type of the portal item.
The username of the owner (may be null).
The string used for broader search on the items; such as on tags, title etc. May be empty (or null).
Version

CreateForItemsOfTypeWithOwner Method
Returns query parameters that will find items with a specified type and owner.
Syntax
public static PortalQueryParameters CreateForItemsOfTypeWithOwner( 
   PortalItemType type,
   string owner,
   string search
)

Parameters

type
The type of the portal item.
owner
The username of the owner (may be null).
search
The string used for broader search on the items; such as on tags, title etc. May be empty (or null).

Return Value

Initialized portal query parameters
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also