What are all the attribute values that can and cannot be retrieved using getAttributeValues()? Can unboundid modify all the attributes of users? If not what are all the attributes that can and cannot be modified?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I assume you're talking about the Entry.getAttributeValues method. That method can be called for any attribute. If the target attribute isn't present in the entry (either because it actually isn't in the entry, or because the server didn't include it in the entry that is returned to the client for one reason or another), then the method will return null.
The set of attributes that can be altered in a server has absolutely nothing to do with the client API that you're using. The UnboundID LDAP SDK for Java, like I'm sure every other LDAP API that exists, can send a request to modify any attribute. Whether or not the server will successfully process that modification is dependent upon a number of factors, including the server's access control policy, whether the modification is valid based on the state of the entry being modified, whether the modification would result in a schema violation, whether the attribute is marked NO-USER-MODIFICATION in the server schema, etc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What are all the attribute values that can and cannot be retrieved using getAttributeValues()? Can unboundid modify all the attributes of users? If not what are all the attributes that can and cannot be modified?
I assume you're talking about the Entry.getAttributeValues method. That method can be called for any attribute. If the target attribute isn't present in the entry (either because it actually isn't in the entry, or because the server didn't include it in the entry that is returned to the client for one reason or another), then the method will return null.
The set of attributes that can be altered in a server has absolutely nothing to do with the client API that you're using. The UnboundID LDAP SDK for Java, like I'm sure every other LDAP API that exists, can send a request to modify any attribute. Whether or not the server will successfully process that modification is dependent upon a number of factors, including the server's access control policy, whether the modification is valid based on the state of the entry being modified, whether the modification would result in a schema violation, whether the attribute is marked NO-USER-MODIFICATION in the server schema, etc.
Thank you so much for the reply!