getUserHomeUrl

Function

Return the URL of the user's page in the Portal Home application

  • getUserHomeUrl(username: string, portalUrlOrObject: string | IPortal | IHubRequestOptions | IRequestOptions) : string

Parameters

Parameter Type Default Notes
username Required string

The username

portalUrlOrObject Optional string | IPortal | IHubRequestOptions | IRequestOptions

a portal base or API URL, a portal object, or request options containing either of those

Returns

URL to the user's profile, defaults to https://www.arcgis.com/home/user.html?user={username}

string

Function defined in common/src/urls/getUserHomeUrl.ts:12