%CSP.UI.Component.UserRoles

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

Component for editing roles on the User edit page

Method Inventory (Including Private)

Methods

method %DrawHTML() [ Language = objectscript ]
The %DrawHTML method draws the initial HTML for this component.
method AssignRoles(PID As %String, RoleList As %String, GrantOption As %Boolean, Type As %String) as %String [ Language = objectscript, ZenMethod ]
Assign a Role to a User or change the grant option on a User's existing Role PID: User name RoleList: Comma-delimited list of roles to change In case user selected roles longer than 32K, we break them into 100 items a piece before sending to the server to avoid error GrantOption: 1 - Add grant option, 0 - Remove grant option
method RemoveAllRoles(PID As %String, Type As %String) as %String [ Language = objectscript, ZenMethod ]
Remove all roles from a user Create a comma-delimited list of the user's roles and send it to RemoveRole()
method RemoveRole(PID As %String, RoleList As %String, Type As %String) as %String [ Language = objectscript, ZenMethod ]
Remove a Role from a User PID: User name RoleList: Comma-delimited list of roles to remove In case user selected roles longer than 32K, we break them into 100 items a piece before sending to the server to avoid error
clientmethod doAssignRole(type, grantOption) [ Language = javascript ]
clientmethod doChangeGrantOption(roleID, isChecked) [ Language = javascript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback