Home > Class Reference > ENSLIB namespace > %CSP.UI.Component.RoleMemberTab

%CSP.UI.Component.RoleMemberTab

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

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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property PID as %ZEN.Datatype.string (ZENEXPRESSION = 1);
Name of the Application/User being edited
Property methods: PIDDisplayToLogical(), PIDGet(), PIDIsValid(), PIDLogicalToDisplay(), PIDLogicalToOdbc(), PIDNormalize(), PIDSet()
property Type as %ZEN.Datatype.string;
Users or Roles, depending on which radio button is selected
Property methods: TypeDisplayToLogical(), TypeGet(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()
property readOnly as %ZEN.Datatype.boolean (ZENEXPRESSION = 1) [ InitialExpression = 0 ];
If true, tables are for display only
Property methods: readOnlyDisplayToLogical(), readOnlyGet(), readOnlyIsValid(), readOnlyLogicalToDisplay(), readOnlyLogicalToOdbc(), readOnlyLogicalToXSD(), readOnlyNormalize(), readOnlySet(), readOnlyXSDToLogical()

Methods (Including Private)

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 ]
clientmethod doAssignRole(grantOption) [ Language = javascript ]
clientmethod doChangeGrantOption(roleID, isChecked) [ Language = javascript ]
clientmethod doRadioChange(newVal) [ Language = javascript ]
clientmethod doRemoveAllRoles() [ Language = javascript ]
clientmethod doRemoveRole(roleID, type) [ Language = javascript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)