Gets the first value of an attribute in an entry as a unsigned long data type.
#include "slapi-plugin.h" unsigned long slapi_entry_attr_get_ulong( const Slapi_Entry* e, const char *type);
This function takes the following parameters:
Entry from which you want to get the value.
Attribute type from which you want to get the value.
This function returns the first value in the attribute converted to an unsigned long. The function returns 0 if the entry does not contain the attribute specified.