Home > Contents > 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
baseDN
property.
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
errno
include:
Value Description -15002 Name being created already exists. -15004 Implementation doesn't support this operation -15005 Unexpected naming exceptions from JNDI provider. -15006 A required property missing, or class name specified for factory classes is in error. -15007 Unexpected schema violation errors from JNDI provider. -15008 General error in the syntax of an IName. -15009 Unexpected invalid attribute exceptions from JNDI provider -15010 Unexpected invalid attribute id exceptions from JNDI provider. -15011 Unexpected invalid attribute value exceptions from JNDI provider. -15012 User does not have permission to perform the operation. -15014 Unexpected JNDI read error. -15015 Unexpected JNDI write error. -15016 JNDI attribute already in use. 15017 User is already a member. -15018 User is not a member. -15020 User is not valid. -15023 Unexpected JNDI connection errors. -15024 Required attribute missing. -15025 Unknown error. -15026 Missing required create attribute. -15027 User create SQL failure. -15029 Cannot delete user attributes. -15030 SQL error. -15031 Query failed. -15032 Add attribute SQL failed. -15033 Database error handling new attribute. -15034 Database error occurred while attempting to delete an attribute. -15036 Missing or invalid child argument tags for tag.Description
This tag replaces existing attribute values with specified values. If the
CS.Property.dir.referentialIntegrity
property is turned on, and if the requested operation requires a change in the distinguished name (as in, modifying the firstcommonname
attribute value), then the operation changes to the following attributes:
CS.Property.dir.member
attribute on all users belonging to any group being updated
CS.Property.dir.uniquemember
on all groups containing a user being updated
CS.Property.dir.owner
attribute containing the name of a user being updated
CS.Property.dir.seeAlso
attribute 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
referentialIntegrity
property. 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, 2018, Oracle and/or its affiliates. All rights reserved.