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

Parameters

name (required)
Unique identifier for the name of the entry from which attributes are being removed. The value is relative to the baseDN property.

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 errno include:

Value
Description
-15003
Name being deleted does not exist.
-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.
-15013
Node cannot be deleted because it has children.
-15014
Unexpected JNDI read error.
-15015
Unexpected JNDI write error.
-15016
JNDI attribute already in use.
-15018
User is not a member.
-15020
User is not valid.
-15023
Unexpected JNDI connection errors.
-15024
Required attribute missing.
-15025
Unknown error.
-15028
User delete SQL failure.
-15029
Cannot delete user attributes.
-15030
SQL error.
-15031
Query failed.
-15034
Database error occurred while attempting to delete an attribute.
-15036
Missing or invalid child argument tags for tag.

Description

This tag removes the specified attributes from the selected entries. If you are using this tag with the CS.Property.dir.referentialIntegrity property turned on, and if the requested operation requires a change in the distinguished name (as in, modifying the first commonname attribute value), then the operation changes the following attributes:

An update is not be attempted on any attribute for which the above 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.

Note

Removing a commonname attribute may have the side effect of changing the distinguished name.

Example

  Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.