GetProfileCustomizations

ACCPAC Common Controls

AccpacSession.GetProfileCustomizations

Retrieves UI customization settings (an array of hidden UI controls) for the specified ProfileID and screen identifier (UIKey).

Function GetProfileCustomizations(
  ProfileID As String,
  UIKey As String) As String()

Parameters

ProfileID

[in] the profile ID

UIKey

[in] the unique key (identifier) for the UI

This UI must be part of the application whose AppID is associated with the current session.

Return Value

Returns an array of the names of the controls to hide in the UI for the specified profile.

Returns an empty array if there are no customization settings stored for the supplied profile ID and UI key.

Remarks

Only users logged in as administrators (ADMIN) can call this method.