The eimChangeIdentifier() function modifies an existing EIM
identifier.
Authorities and Locks
EIM Data
Access to EIM data is controlled by EIM access groups. LDAP administrators
also have access to EIM data. The access groups whose members have authority to
the EIM data for this API follow:
EIM Administrator
EIM Identifiers Administrator
Parameters
eim (Input)
The EIM handle returned by a previous call to eimCreateHandle(). A valid
connection is required for this function.
idName (Input)
A structure that contains the name for this identifier. The layout of the
EimIdentifierInfo structure follows:
idtype will indicate which identifier name has been provided.
Use of the uniqueName will provide the best performance. There is
no guarantee that name will find a unique identifier. Therefore,
use of name may result in an error.
attrName
The attribute to be updated. Valid values are:
EIM_IDENTIFIER_DESCRIPTION (0)
Change the identifier description. Valid
changeType is EIM_CHG (0).
EIM_IDENTIFIER_NAME (1)
Add or remove a name attribute for this
identifier. Valid changeType is
EIM_ADD (1)
EIM_RMV (2)
EIM_IDENTIFIER_ADDL_INFO (2)
Add or remove an additional information attribute
for this identifier. Additional information is user defined data. Valid
changeType is
EIM_ADD (1)
EIM_RMV (2)
attrValue (Input)
The new value for the attribute.
changeType (Input)
The type of change to make. This could be add, remove, or change.
attrName parameter indicates which type is allowed for each
attribute.
eimrc (Input/Output)
The structure in which to return error code information. If the return
value is not 0, eimrc is set with additional information. This parameter may be
NULL. For the format of the structure, see EimRC--EIM
Return Code Parameter.
Return Value
The return value from the API. Following each return value is the list of
possible values for the messageCatalogMessageID field in the
eimrc parameter for that value.
0
Request was successful.
EACCES
Access denied. Not enough permissions to access data.
EIMERR_ACCESS (1)
Insufficient access to EIM data.
EBADDATA
eimrc is not valid.
EBADNAME
Identifier name is not valid or insufficient access to EIM data.
EIMERR_IDNAME_AMBIGUOUS (20)
More than 1 EIM Identifier was found that matches
the requested Identifier name.
EIMERR_NOIDENTIFIER (25)
EIM Identifier not found or insufficient access
to EIM data.
EBUSY
Unable to allocate internal system object.
EIMERR_NOLOCK (26)
Unable to allocate internal system object.
ECONVERT
Data conversion error.
EIMERR_DATA_CONVERSION (13)
Error occurred when converting data between code
pages.
EINVAL
Input parameter was not valid.
EIMERR_ATTR_INVAL (5)
Attribute name is not valid.
EIMERR_CHGTYPE_INVAL (9)
This change type is not valid with the requested
attribute. Please check the API documentation.
EIMERR_HANDLE_INVAL (17)
EimHandle is not valid.
EIMERR_IDNAME_TYPE_INVAL (52)
The EimIdType value is not valid.
EIMERR_PARM_REQ (34)
Missing required parameter. Please check API
documentation.
EIMERR_PTR_INVAL (35)
Pointer parameter is not valid.
ENOMEM
Unable to allocate required space.
EIMERR_NOMEM (27)
No memory available. Unable to allocate required
space.
ENOTCONN
LDAP connection has not been made.
EIMERR_NOT_CONN (31)
Not connected to LDAP. Use eimConnect() API and
try the request again.
EROFS
LDAP connection is for read only. Need to connect to master.
EIMERR_READ_ONLY (36)
LDAP connection is for read only. Use
eimConnectToMaster() to get a write connection.
EUNKNOWN
Unexpected exception.
EIMERR_LDAP_ERR (23)
Unexpected LDAP error. %s
EIMERR_UNKNOWN (44)
Unknown error or unknown system state.
Restrictions
There is a restriction on the characters allowed for identifier name.
The following characters are special characters that are not allowed in
object names. They also should not be used in object attributes that would be
used for a search operation.