Home > Contents > Index > 
DIR.ADDGROUPMEMBER
Adds a member to a group.
Syntax
<DIR.ADDGROUPMEMBER NAME="group" MEMBER="member entry"/>Parameters
NAME (required)- Unique identifier for the name of the entry to which members are being added. The value is relative to the
baseDNproperty.
MEMBER (required)- Name of the entry to add as a member (usually, but not required to be, a user). The value is relative to the
baseDNproperty, but is changed to the fully qualified distinguished name prior to adding as a value to theCS.Property.dir.uniquememberattribute.Error Numbers
The possible values of
errnoinclude:
Description
Adds a member to a group. Note that this tag does not add a child to a group. The API implementation, not the client code, is responsible for checking that the member is a valid, existing distinguished name. If the specified entry is already a member, nothing is done.
In most SPIs, this entails adding the specified user's distinguished name to the set of values of the specified group's
uniquememberattribute.If the
CS.Property.dir.referentialIntegrityproperty is turned on, theCS.Property.dir.member attribute(backlink) of the user is also updated, if implemented by the SPI (e.g., the value in the property file is non-empty).Example
<DIR.ADDGROUPMEMBER NAME="Variables.groupName" MEMBER="Variables.userName"/>Release Introduced
This tag was introduced in Content Server release 4.0.
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.