This function takes the following parameters:
Entry from which you want to get the attribute.
Pointer to the first attribute in the entry.