Home > Contents > Index >
rolelist:delete
Deletes a role from the list.
Syntax
<rolelist:delete name="rolelist_object_name
" role="role_id
" />Parameters
name (required)
- Name of the role list object from which to delete the role.
role (required)
- Role id to delete.
Error Numbers
The possible values of
errno
include:
Value Description -100 Asset Exception. -12001 An expected table or iList field was not found.Example
The following code deletes a role from a role list, then verifies whether or not the role was deleted.
<!-- delete a roll --> <rolelist:delete name="roleobject" role="GeneralAdmin"/> <!-- show all roles --> <rolelist.GETALL name="roleobject" varname="roles3"/> <IF COND="IsVariable.roles3=false"> <THEN> <SETVAR name="roles3" value="[None]"/> <BR/> rolelist:delete: No roles found <BR/> </THEN> <ELSE> <BR/> rolelist:delete: Roles found are <CSVAR name="Variables.roles3"/><BR/><BR/> </ELSE> </IF>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.