Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%CSP] >  [UI] >  [Component] >  [ApplicationRoles]
Private  Storage   

class %CSP.UI.Component.ApplicationRoles extends %CSP.UI.Component.abstractRoleTab

%CSP.UI.Component.ApplicationRoles

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6


Summary

Properties
%condition %import %includeFiles %page
%resource PID align aux
avaList composite containerStyle dragEnabled
dropEnabled enclosingClass enclosingStyle error
height hidden hint hintClass
hintStyle id index label
labelClass labelDisabledClass labelStyle name
onafterdrag onbeforedrag ondrag ondrop
onhide onrefresh onshow onupdate
parent readOnly selList showLabel
slice title tuple type
valign visible width window

Methods
%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawComponentHTML %DrawHTML %DrawJSStrings
%EnclosingDivId %Eval %EvalC %Extends
%ForceClientRender %GetEventHandlers %GetParameter %GetXMLName
%IsA %IsModified %MakeId %New
%NormalizeObject %ObjectModified %OnAddToPageAfter %OnAddToPageBefore
%OnDrawEnclosingDiv %OnDrawObjectProperties %OnObjectSynch %OnZENDeserialize
%OriginalNamespace %PackageName %QuoteValue %QuoteValueL10N
%RemoveFromSaveSet %Self %SerializeObject %SetModified
%ValidateObject AssignRole DrawArrows DrawArrowsOld
DrawAvailableList DrawSelectBoxes DrawSelectList DrawUpArrowsOld
GetRoles RemoveAllRoles RemoveRole XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType clearList
doAssignRole doRemoveAllRoles doRemoveRole doSelectBoxMove
doSelectBoxMoveAll doSelectBoxMoveItem doSelectBoxMoveList dragFinishHandler
dragHandler dragNotifyHandler dragStartHandler dropHandler
dropStartHandler exposeComponent findElement fireOnUpdateEvent
getEnclosingDiv getHidden getHintElement getLabelElement
getProperty getSelList getSettings getType
invokeSuper isOfType makeId onCreate
onDelete onDisplayHandler onEndModalHandler onPopupAction
onRefreshContents onSerialize onStartModalHandler onloadHandler
onunloadHandler onupdateHandler refreshContents render
renderContents renderSVG setHidden setOverlayMode
setProperty startProgressBar stopProgressBar


Methods

• method %DrawHTML()
The %DrawHTML method draws the initial HTML for this component.
• method AssignRole(PID As %String, NewMatchElement As %String, MatchRole As %String) as %String [ ZenMethod ]
Save both kind of Roles: 1) Roles that will always be added to application NewMatchElement passed is in delimited by ":" MatchRole = "" 2) Matching roles with their associated target roles NewMatchElement passed in is delimited by ":" MatchRole = the MatchRole user selected
• classmethod GetRoles(Roles As %String, Output NullRoles As %String, Output MatchRoles As %String) as %Status
Return roles that should be loaded
• method RemoveAllRoles(PID As %String, Type As %String) as %String [ ZenMethod ]
Remove All Roles that will always be added to application if Type = "ApplicationRole" Remove All MatchRoles if Type = "MatchRole"
• method RemoveRole(PID As %String, ElementId As %String) as %String [ ZenMethod ]
Remove a Role from a application ElementID is ",TargetRole" or "MatchRole,TargetRole"
• method doAssignRole(type, grantOption) [ Language = javascript ]


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.