AccpacSession.SaveProfileCustomizations
Saves UI customization settings for the specified profile IDs on the UI specified by UIKey.
Sub SaveProfileCustomizations(
ProfileIDs() As String,
UIKey As String,
HiddenControls() As String)
Parameters
ProfileIDs
[in] an array of profile ID strings
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.
HiddenControls
[in] an array containing the names of the controls to hide in the UI for the profiles in ProfileIDs
Remarks
Only users logged in as administrators can call this method.
Multiple profiles IDs can be specified in the array and the settings are saved to all of those profiles. HiddenControls is an array of names of controls to hide on the UI when customization based on any of those profiles is applied on the UI.
This method is used by the Customize menu option.
This method can only be called when the current user is an administrator (ADMIN).