ProfileManager.getCurrentUsersHomepageURLPath Method [AX 2012]

Returns the URL path for the Role Center of the current user.

public str getCurrentUsersHomepageURLPath([DataAreaId _company])

Run On

Called

Parameters

_company
Type: DataAreaId Extended Data Type
The company ID for which you want to retrieve the Role Center page; optional.

Return Value

Type: str
A string that represents the URL of the Role Center of the current user.

If the user does not have a profile in the current company, the default Role Center page is used. If the user is an external user or no default page is specified, an empty string is returned.

Community Additions

ADD
Show: