Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
dir:replaceattrs
Replaces the existing attribute values with the specified values.
Syntax
<dir:replaceattrs name="entry"> <dir:argument name="attribute name" value="attribute value"/> </dir:replaceattrs>Parameters
name (required)- Unique identifier for the name of the entry to which attributes are being replaced. The value is relative to the
baseDNproperty.
dir:argument name (required)- Name of the attribute to be replaced for this entry.
dir:argument value (required)- Value of the named attribute.
Error Numbers
The possible values of
errnoinclude:
Description
This tag replaces existing attribute values with specified values. If the
CS.Property.dir.referentialIntegrityproperty is turned on, and if the requested operation requires a change in the distinguished name (as in, modifying the firstcommonnameattribute value), then the operation changes to 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 attempted on any attribute for which the preceding 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.Example
<dir:replaceattrs name="Variables.modname"/> <dir:argument name="Variables.phFieldName" value="Variables.newph"/> </dir:replaceattrs>Release Introduced
This tag was introduced in CS release 4.0.
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.