Skip to main content


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


Method Inventory


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"
clientmethod doAssignRole(type, grantOption) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab