Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
dir:removeattrs
Deletes the specified attribute from the specified entry.
Syntax
<dir:removeattrs name="entry"> <dir:argument name="attribute name" value="attribute value"/> </dir:replaceattrs>Parameters
name (required)- Unique identifier for the name of the entry from which attributes are being removed. The value is relative to the
baseDNproperty.
dir:argument name (required)- Name of the attribute to be removed from this entry.
dir:argument value (required)- Value of the named attribute. If this argument is not specified, all values are removed.
Error Numbers
The possible values of
errnoinclude:
Description
This tag removes the specified attributes from the selected entries. If you are using this tag with the
CS.Property.dir.referentialIntegrityproperty turned on, and if the requested operation requires a change in the distinguished name (as in, modifying the firstcommonnameattribute value), then the operation changes the following attributes:
CS.Property.dir.memberattribute on all users belonging to any group being updated
CS.Property.dir.uniquememberon all groups containing a user being updated
CS.Property.dir.ownerattribute containing the name of a user being updated
CS.Property.dir.seeAlsoattribute containing the name of anything being updatedAn update is not be attempted on any attribute for which the above property value is an empty string, regardless of the value of the
referentialIntegrityproperty. Do not enable referential integrity if it is configurable in the SPI's directory server itself.
Note
Removing a
commonnameattribute may have the side effect of changing the distinguished name.Example
<dir:removeattrs name="Variables.modname"> <dir:argument name="Variables.phoneFieldName"/> </dir:removeattrs>
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.