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

class %CSP.UI.Component.RoleMemberTab extends %ZEN.Component.component, %CSP.UI.Component.SelectBoxUtils

Component for the "Members" tab on the Role edit page

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 11


Summary

Properties
%condition %import %includeFiles %page
%resource PID Type 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
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 AssignRoles DrawArrows DrawArrowsOld
DrawAvailableList DrawSelectBoxes DrawSelectList DrawUpArrowsOld
RemoveAllRoles RemoveRole UpdateType XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType clearList
doAssignRole doChangeGrantOption doRadioChange 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


Properties

• property PID as %ZEN.Datatype.string(ZENEXPRESSION=1);
Name of the Application/User being edited
• property Type as %ZEN.Datatype.string;
Users or Roles, depending on which radio button is selected
• property readOnly as %ZEN.Datatype.boolean(ZENEXPRESSION=1) [ InitialExpression = 0 ];
If true, tables are for display only

Methods

• method %DrawHTML()
The %DrawHTML method draws the initial HTML for this component.
• method AssignRoles(PID As %String, MemberList As %String, GrantOption As %Boolean) as %String [ ZenMethod ]
Assign a User or Role to the Role or change the grant option on a User/Role's existing Role PID: Role name MemberList: Comma- or Asterisk-delimited list of users or roles to change GrantOption: 1 - Add grant option, 0 - Remove grant option
• method DrawSelectBoxes(ByRef ExcludedItems As %String) as %Status
• method RemoveAllRoles(PID As %String) as %String [ ZenMethod ]
Remove all roles from a user
• method RemoveRole(PID As %String, Member As %String, Type As %String) as %String [ ZenMethod ]
Remove a Role from a User PID: Role name Member: Role or user to remove Type: "USER" or "ROLE"
• classmethod UpdateType(newVal As %String) as %Status [ ZenMethod ]
• method doAssignRole(grantOption) [ Language = javascript ]
• method doChangeGrantOption(roleID, isChecked) [ Language = javascript ]
• method doRadioChange(newVal) [ Language = javascript ]
• method doRemoveAllRoles() [ Language = javascript ]
• method doRemoveRole(roleID, type) [ Language = javascript ]


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